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

DockerBuildStep

open class DockerBuildStep : BuildStep

Deprecated, was used for Docker Build build step. Please use Docker command runner step instead.

See Also

dockerBuild

Types

Source

sealed class Source : CompoundParam

Constructors

<init>

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

Properties

commandArgs

var commandArgs: String?

Additional arguments that will be passed to the 'build' command.

contextDir

var contextDir: String?

If blank, the folder containing the Dockerfile will be used.

namesAndTags

var namesAndTags: String?

Newline-separated list of the image name:tag(s).

source

var source: Source?

Specifies the source of the Dockerfile

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

content

fun content(init: Content.() -> Unit = {}): Content

Use Dockerfile content

path

fun path(init: Path.() -> Unit = {}): Path

Sets filesystem path to Dockerfile

url

fun url(init: Url.() -> Unit = {}): Url

Sets Dockerfile URL

Inherited Functions

conditions

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

Configures build step conditions