title: Jenkins Pipeline and Promotions
body: <p>When having build job with implemented promotion cycle, i.e. Dev->QA->Performance->Production. </p>
  
  <p>What will be the <strong>correct</strong> way to migrate this cycle into pipeline? it looks rather clean\structured to call each of the above mentioned jobs, Yet, How can I query the build ID (to be able to call the deployment job)? Or I have have totally misunderstood the pipeline concept? </p>