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

ExecBuildStep

open class ExecBuildStep : BuildStep

A build step running the specified executable with given arguments

See Also

exec

Types

ImagePlatform

enum class ImagePlatform

Docker image platforms

Constructors

<init>

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

Properties

arguments

var arguments: String?

A space-separated arguments list for the executable

dockerImage

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.

dockerImagePlatform

var dockerImagePlatform: ImagePlatform?

Specifies which Docker image platform will be used to run this build step.

dockerPull

var dockerPull: Boolean?

If enabled, "docker pull image" will be run before docker run.

dockerRunParameters

var dockerRunParameters: String?

Additional docker run command arguments

formatStderrAsError

var formatStderrAsError: Boolean?

Log stderr output as errors in the build log

path

var path: String?

A path to executable

workingDir

var workingDir: String?

Build working directory for the executable, specify it if it is different from the checkout directory.

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

Inherited Functions

conditions

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

Configures build step conditions