title: How do I lock a pipeline in Jenkins?
body: <p>Say I've got that pipeline building my stuff.</p>
  
  <p>I'm polling my Git repo every 15 minutes for changes. The whole build might take more than these 15 minutes.</p>
  
  <p>Is there any way to tell the pipeline not to start when a build is already running?</p>