title: Jenkins: get the build number of a Job triggered inside pipeline
body: <p>I have a pipeline which runs another bunch of jobs inside a stage:</p>
  
  <pre><code>node{
   stage("building_other_components") {
    build 'job1' 
    build 'job2' }}
  </code></pre>
  
  <p>How can I recover the build number or URL of these jobs? I just want to send the URL by mail ( Example: <strong><a href="http://localhost:8080/job/job1/25" rel="noreferrer">http://localhost:8080/job/job1/25</a></strong>/<em>last-changes/</em> , I will add the <em>last-changes</em> part)<br>
  Thanks,</p>