title: Jenkins how to create pipeline manual step
body: <p>Prior Jenkins2 I was using <a href="https://wiki.jenkins-ci.org/display/JENKINS/Build+Pipeline+Plugin">Build Pipeline Plugin</a> to build and manually deploy application to server. 
  Old configuration:
  <a href="https://i.stack.imgur.com/ruBF8.png"><img src="https://i.stack.imgur.com/ruBF8.png" alt="jenkins-pipeline-plugin"></a></p>
  
  <p>That works great, but I want to use new Jenkins pipeline, generated from groovy script (Jenkinsfile), to create manual step.</p>
  
  <p>So far I came up with <code>input</code> jenkins step.</p>
  
  <p>Used jenkinsfile script:</p>
  
  <pre><code>node {
     stage 'Checkout'
     // Get some code from repository
  
     stage 'Build'
     // Run the build
  }
  
  stage 'deployment'
  input 'Do you approve deployment?'
  node {
      //deploy things
  }
  </code></pre>
  
  <p>But this waits for user input, noting that build is not completed. I could add timeout to <code>input</code>, but this won't allow me to pick/trigger a build and deploy it later on:</p>
  
  <p><a href="https://i.stack.imgur.com/Xkgjo.png"><img src="https://i.stack.imgur.com/Xkgjo.png" alt="jenkins-pipeline"></a></p>
  
  <p>How can I achive same/similiar result for manual step/trigger with new jenkins-pipeline as prior with Build Pipeline Plugin?</p>