buildParams

fun buildParams(init: TriggerBuildParameters.() -> Unit)

Configures build parameters that are applied to triggered builds

Example. Append two additional parameters to triggered build.

buildType {
// ...
triggers {
retryBuild {
// ...
buildParams {
param("param1", "value1")
param("param2", "%build.number%")
}
}
}
}

Parameters

init

function to initialize build parameters


val buildParams: TriggerBuildParameters

Parameters that are added to triggered builds

Since

2021.1