title: Retrieve build number or artifacts of downstream build in Jenkins
body: <p>I have a job (call it BIGJOB) in Jenkins; several of the build steps are to trigger builds on other jobs (call them SMALLJOB) using the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin" rel="noreferrer">Parameterized Trigger Plugin</a> then wait for them to complete.  What I need to do  is retrieve artifacts from the triggered build on SMALLJOB.</p>
  
  <p>Originally, I thought I could use the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin" rel="noreferrer">Copy Artifact Plugin</a> to retrieve the artifacts from the "last build" of the triggered SMALLJOB.  And this does work reliably when there is only one SMALLJOB running at a time.  </p>
  
  <p>But I've got multiple BIGJOBs running, all triggering multiple SMALLJOBs so that using the "last build" is unreliable of two SMALLJOBs finish at the same time.</p>
  
  <p>Is there a more reliable way of getting the artifacts from the specific downstream job?  If I could just get the build number, I could use curl to get the artifacts.</p>