open class DockerCommandStep : BuildStep
A build step for a generic docker command runner (can run Docker build, push, other...)
See Also
sealed class CommandType : CompoundParam |
DockerCommandStep(init: DockerCommandStep.() -> Unit = {}, base: DockerCommandStep? = null) |
var commandType: CommandType?
Specifies the type of the command, at the moment "build", "push", "other" |
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 build(init: Build.() -> Unit = {}): Build
Run "docker build" command |
|
fun other(init: Other.() -> Unit = {}): Other
Run a specified docker command |
|
fun push(init: Push.() -> Unit = {}): Push
Run "docker push" command |
fun conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |