open class GradleBuildStep : BuildStep
A build step running gradle script
See Also
sealed class CoverageEngine : CompoundParam |
|
enum class ImagePlatform
Docker image platforms |
GradleBuildStep(init: GradleBuildStep.() -> Unit = {}, base: GradleBuildStep? = null) |
var buildFile: String?
Path to build file |
|
var coverageEngine: CoverageEngine?
Specifies coverage engine to use |
|
var dockerImage: String?
Specifies which Docker image to use for running this build step. I.e. the build step will be run inside specified docker image, using 'docker run' wrapper. |
|
var dockerImagePlatform: ImagePlatform?
Specifies which Docker image platform will be used to run this build step. |
|
var dockerPull: Boolean?
If enabled, "docker pull image" will be run before docker run. |
|
var dockerRunParameters: String?
Additional docker run command arguments |
|
var enableDebug: Boolean?
Whether Gradle should be executed with the -d option |
|
var enableStacktrace: Boolean?
Whether Gradle should be executed with the -s option |
|
var gradleHome: String?
Path to the Gradle home directory (parent of 'bin' directory). Overrides agent GRADLE_HOME environment variable |
|
var gradleParams: String?
Additional parameters will be added to the 'Gradle' command line |
|
var gradleWrapperPath: String?
Optional path to the Gradle wrapper script, relative to the working directory |
|
var incremental: Boolean?
When set to true the :buildDependents task will be run on projects affected by changes |
|
var jdkHome: String?
Custom JDK to use. The default is JAVA_HOME environment variable or the agent's own Java. |
|
var jvmArgs: String?
Space-separated list of additional arguments for JVM |
|
var tasks: String?
Space separated task names, when not set the 'default' task is used |
|
var useGradleWrapper: Boolean?
Whether TeamCity should look for Gradle Wrapper scripts in the checkout directory and run script using it |
|
var workingDir: String?
Custom working directory for gradle script |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled |
|
var executionMode: ExecutionMode
Build step execution mode |
|
var id: String?
Id of the step, if not specified will be generated |
|
var name: String
Build step name |
|
var type: String
Build step type |
fun idea(init: Idea.() -> Unit = {}): Idea |
|
fun jacoco(init: Jacoco.() -> Unit = {}): Jacoco |
fun conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |