ScriptStep

@Serializable
data class ScriptStep(val agents: Agents? = null, val allowDependencyFailure: Boolean? = null, val artifactPaths: SimpleStringValue? = null, val branches: SimpleStringValue? = null, val cancelOnBuildFailing: Boolean? = null, val command: SimpleStringValue? = null, val commands: SimpleStringValue? = null, val concurrency: Long? = null, val concurrencyGroup: String? = null, val concurrencyMethod: ConcurrencyMethod? = null, val dependsOn: DependsOn? = null, val env: JsonObject? = null, val id: String? = null, val identifier: String? = null, val commandStepIf: String? = null, val key: String? = null, val label: String? = null, val matrix: MatrixUnion? = null, val name: String? = null, val notify: List<Notification>? = null, val parallelism: Long? = null, val plugins: Plugins? = null, val priority: Long? = null, val retry: Retry? = null, val signature: Signature? = null, val skip: Skip? = null, val softFail: SoftFail? = null, val timeoutInMinutes: Long? = null, val type: ScriptType? = null) : Keyable(source)

Constructors

Link copied to clipboard
constructor(agents: Agents? = null, allowDependencyFailure: Boolean? = null, artifactPaths: SimpleStringValue? = null, branches: SimpleStringValue? = null, cancelOnBuildFailing: Boolean? = null, command: SimpleStringValue? = null, commands: SimpleStringValue? = null, concurrency: Long? = null, concurrencyGroup: String? = null, concurrencyMethod: ConcurrencyMethod? = null, dependsOn: DependsOn? = null, env: JsonObject? = null, id: String? = null, identifier: String? = null, commandStepIf: String? = null, key: String? = null, label: String? = null, matrix: MatrixUnion? = null, name: String? = null, notify: List<Notification>? = null, parallelism: Long? = null, plugins: Plugins? = null, priority: Long? = null, retry: Retry? = null, signature: Signature? = null, skip: Skip? = null, softFail: SoftFail? = null, timeoutInMinutes: Long? = null, type: ScriptType? = null)

Properties

Link copied to clipboard
val agents: Agents? = null
Link copied to clipboard
@SerialName(value = "allow_dependency_failure")
val allowDependencyFailure: Boolean? = null
Link copied to clipboard
@SerialName(value = "artifact_paths")
val artifactPaths: SimpleStringValue? = null

The glob path/s of artifacts to upload once this step has finished running

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "cancel_on_build_failing")
val cancelOnBuildFailing: Boolean? = null
Link copied to clipboard

The commands to run on the agent

Link copied to clipboard

The commands to run on the agent

Link copied to clipboard
@SerialName(value = "if")
val commandStepIf: String? = null
Link copied to clipboard
val concurrency: Long? = null

The maximum number of jobs created from this step that are allowed to run at the same time. If you use this attribute, you must also define concurrency_group.

Link copied to clipboard
@SerialName(value = "concurrency_group")
val concurrencyGroup: String? = null

A unique name for the concurrency group that you are creating with the concurrency attribute

Link copied to clipboard
@SerialName(value = "concurrency_method")
val concurrencyMethod: ConcurrencyMethod? = null

Control command order, allowed values are 'ordered' (default) and 'eager'. If you use this attribute, you must also define concurrency_group and concurrency.

Link copied to clipboard
@SerialName(value = "depends_on")
val dependsOn: DependsOn? = null
Link copied to clipboard
val env: JsonObject? = null
Link copied to clipboard
val id: String? = null
Link copied to clipboard
val identifier: String? = null
Link copied to clipboard
open override val key: String? = null
Link copied to clipboard
val label: String? = null
Link copied to clipboard
val matrix: MatrixUnion? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val notify: List<Notification>? = null

Array of notification options for this step

Link copied to clipboard
val parallelism: Long? = null

The number of parallel jobs that will be created based on this step

Link copied to clipboard
val plugins: Plugins? = null
Link copied to clipboard
val priority: Long? = null

Priority of the job, higher priorities are assigned to agents

Link copied to clipboard
val retry: Retry? = null

The conditions for retrying this step.

Link copied to clipboard
val signature: Signature? = null

The signature of the command step, generally injected by agents at pipeline upload

Link copied to clipboard
val skip: Skip? = null
Link copied to clipboard
@SerialName(value = "soft_fail")
val softFail: SoftFail? = null
Link copied to clipboard
@SerialName(value = "timeout_in_minutes")
val timeoutInMinutes: Long? = null

The number of minutes to time out a job

Link copied to clipboard
val type: ScriptType? = null