Jenkins Pipeline: "input" step blocks executor
<p>After going through the <a href="https://jenkins.io/doc/pipeline" rel="noreferrer">pipeline</a> and <a href="https://jenkins.io/doc/pipeline/jenkinsfile/" rel="noreferrer">Jenkinsfile</a> documentation, I am a bit confused on how to create a <em>Stage -> Production</em> pipeline.</p>

<p>One way is to use the <code>input</code> step like</p>

<pre class="lang-java prettyprint-override"><code>node() {
  stage 'Build to Stage'
  sh '# ...'

  input 'Deploy to Production'
  stage 'Build to Production'
  sh '# ...'
}
</code></pre>

<p>This seems a bit clunky, as this will block an executor all the time until you want to deploy to production. Is there any alternative way of being able to deploy to production, from Jenkins.</p>