open class DockerBuildStep : BuildStep
Deprecated, was used for Docker Build build step. Please use Docker command runner step instead.
See Also
sealed class Source : CompoundParam<Source> |
DockerBuildStep(init: DockerBuildStep.() -> Unit) DockerBuildStep()
Deprecated, was used for Docker Build build step. Please use Docker command runner step instead. |
var commandArgs: String?
Additional arguments that will be passed to the 'build' command. |
|
var contextDir: String?
If blank, the folder containing the Dockerfile will be used. |
|
var namesAndTags: String?
Newline-separated list of the image name:tag(s). |
|
var source: Source?
Specifies the source of the Dockerfile |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled, true by default |
|
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 content(init: Content.() -> Unit = {}): Content
Use Dockerfile content |
|
fun path(init: Path.() -> Unit = {}): Path
Sets filesystem path to Dockerfile |
|
fun url(init: Url.() -> Unit = {}): Url
Sets Dockerfile URL |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun clearConditions(): Unit
Deletes all configured build step conditions |
|
fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |
|
open fun create(): BuildStep
Creates an instance of this build step via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |