Jenkins pipeline: How to prompt "Do you really want to build?"
jenkins, jenkins-pipeline
Solution
Have a look at the article Controlling the Flow with Stage, Lock, and Milestone in the Jenkins blog, which covers a bit more than only asking for confirmation.
Essentially, there is the `input` step, which requires user input to continue pipeline execution.
Problem
We are using Jenkins with Pipeline Jobs and of course the awesome Jenkinsfile. Twice now a developer accidentally clicked on the build button, which ended up causing a bit of chaos. I am trying to figure out if it is possible to have something like a popup that asks "Do you really want to start this build?". Any ideas on this user related issue are welcome.