title: jenkins pipeline with code: pause for input
body: <p>Can someone point me to good documentation for using jenkins pipeline as code ? below is what i am trying to achieve.</p>
  
  <p>can anyone guide me to how to setup jenkins which will send email notification to approver for deploying the artifacts to next higher staging environment.</p>
  
  <p>So basically we want once the build is completed and artifacts deployed to artifactory an email notification link should be sent out to Approver. Once approver click son link and click on approve the artifacts should be deployed to DeV once deployed to dev again and email notification should be sent out to approver. Once approver clicks on link and approves it the build artifacts should be deployed to TEST environment</p>
  
  <p>can someone guide me on how can this be achieved</p>
  
  <p>-thanks</p>