title: Can a Jenkins build access the archived artifacts from itself?
body: <p>I'm using Jenkins and have the "Archive the Artifacts" step at the end of my builds to archive them into a zip file.</p>
  
  <p>Instead of using this step, I'd like to use a script to push the artifacts to a remote server at the end of the build. The server I'm pushing to uses a REST API / HTTP PUT request in a script to upload files. </p>
  
  <p>Note that I'm looking to access the artifact created in the same build. So if I'm on build #5, I want the artifacts from build #5, not build #4. </p>
  
  <p>Is there any way to access this zip file with a script, in the same build that it was created in? </p>
  
  <p>I need to upload this zip remotely and don't want to create another job to do so. </p>