jetbrains.buildServer.configs.kotlin.v10.buildSteps / DockerCommandStep

DockerCommandStep

open class DockerCommandStep : BuildStep

A build step for a generic docker command runner (can run Docker build, push, other...)

See Also

dockerCommand

Types

CommandType

sealed class CommandType : CompoundParam

Constructors

<init>

DockerCommandStep(init: DockerCommandStep.() -> Unit = {}, base: DockerCommandStep? = null)

Properties

commandType

var commandType: CommandType?

Specifies the type of the command, at the moment "build", "push", "other"

Inherited Properties

conditions

var conditions: BuildStepConditions

Optional collection of build step execution conditions

enabled

var enabled: Boolean

Specifies whether the step is enabled

executionMode

var executionMode: ExecutionMode

Build step execution mode

id

var id: String?

Id of the step, if not specified will be generated

name

var name: String

Build step name

type

var type: String

Build step type

Functions

build

fun build(init: Build.() -> Unit = {}): Build

Run "docker build" command

other

fun other(init: Other.() -> Unit = {}): Other

Run a specified docker command

push

fun push(init: Push.() -> Unit = {}): Push

Run "docker push" command

Inherited Functions

conditions

fun conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit

Configures build step conditions