I want a build pipeline to stop after a job and wait for manual click until the pipeline continues, via the DSL.
I want to avoid the promotions plug-in due to the spotty/no support via the DSL.
I want a build pipeline to stop after a job and wait for manual click until the pipeline continues, via the DSL.
I want to avoid the promotions plug-in due to the spotty/no support via the DSL.
You can use the buildPipelineTrigger DSL method to add a manual trigger, which is provided by the Build Pipeline Plugin.
job('example-1') {
publishers {
buildPipelineTrigger('deploy-cluster-1, deploy-cluster-2')
}
}