title: How can I use the value from "Run Parameter" in "Copy artifacts from another project" for our Jenkins job?
body: <p>I have a Jenkins job I want to use to run automation on a build created in another job. I want the user to specify that build job's build number using the drop-down box created by the Run Parameter plug-in and then have the automation job copy the artifacts from the user-specified build job.</p>
  
  <p>These are the settings for Run Parameter:</p>
  
  <ul>
  <li>Name: BUILD_SELECTOR</li>
  <li>Project: Foo</li>
  <li>Filter: All Builds</li>
  </ul>
  
  <p>The user then selects a build like  which is saved to BUILD_SELECTOR like "<a href="https://blah.com/job/Foo/4/" rel="nofollow">https://blah.com/job/Foo/4/</a>"</p>
  
  <p>Then later in my job, I have Copy artifacts from another project and I want to copy the artifact from the job selected above:</p>
  
  <ul>
  <li>Project Name: Foo</li>
  <li>Which build: ?</li>
  </ul>
  
  <p>This is where I get stumped. I have tried the URL above as a permanent link and also tried stripping out the "4" above for Specific build, but nothing seems to work. How can I use that value to do what I need to do?</p>