0

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.

harmingcola
  • 454
  • 6
  • 17

1 Answers1

1

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')
    }
}
daspilker
  • 8,154
  • 1
  • 35
  • 49