Build

@Serializable
data class Build(val branch: String? = null, val commit: String? = null, val env: JsonObject? = null, val label: String? = null, val message: String? = null, val metaData: JsonObject? = null, val name: String? = null, val trigger: String? = null, val type: BuildType? = null)(source)

Properties of the build that will be created when the step is triggered

Constructors

Link copied to clipboard
constructor(branch: String? = null, commit: String? = null, env: JsonObject? = null, label: String? = null, message: String? = null, metaData: JsonObject? = null, name: String? = null, trigger: String? = null, type: BuildType? = null)

Properties

Link copied to clipboard
val branch: String? = null

The branch for the build

Link copied to clipboard
val commit: String? = null

The commit hash for the build

Link copied to clipboard
val env: JsonObject? = null
Link copied to clipboard
val label: String? = null
Link copied to clipboard
val message: String? = null

The message for the build (supports emoji)

Link copied to clipboard
@SerialName(value = "meta_data")
val metaData: JsonObject? = null

Meta-data for the build

Link copied to clipboard
val name: String? = null
Link copied to clipboard
val trigger: String? = null

The slug of the pipeline to create a build

Link copied to clipboard
val type: BuildType? = null