title: Jenkins - Get build number and GIT hash
body: <p>I have a jenkins pipeline as below
  JobA -> JobB -> JobC -> JobD</p>
  
  <p>I want to get the build number of first job in the pipeline(i.e jobA) and the commit ID which triggered jobA.</p>
  
  <p>I want to get this information in jobD</p>
  
  <p>Any idea?</p>