open class ScriptBuildStep : BuildStep
A build step running a script with the specified content
See Also
enum class ImagePlatform
Docker image platforms |
ScriptBuildStep(init: ScriptBuildStep.() -> Unit = {}, base: ScriptBuildStep? = null) |
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 formatStderrAsError: Boolean?
Log stderr output as errors in the build log |
|
var scriptContent: String?
Content of the script to run |
|
var workingDir: String?
Build working directory for script, specify it if it is different from the checkout directory. |
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 conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |