Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8722

Make the BuildNumber that artifacts were copied from available to later build steps.


    • Similar Issues:


      When copying artifacts from another job, the build selector can be set to things like "Latest Stable Build".

      I have a couple of places where, having copied in artifact, I'd like to know which build number they came from.

      Admittedly this can be retrived by going to "http://YOURJENKINS/job/JOBNAME/X/buildNumber" where X is "lastBuild", "lastSuccessfulBuild", "lastStableBuild" and so on. However, there is a chance that this will return a different build number is the copy happened just before a build completed.

      I'd like to see this plugin store the build number used e.g. into an environment variable that can be then be access by later build step. The environment variable name would have to be configurable to cope with cases there a build combines artifacts from two different upstream builds.



          grhm Graham Smith created issue -
          mindless Alan Harder made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 138866 ] JNJira + In-Review [ 188189 ]
          ikedam ikedam made changes -
          Status Resolved [ 5 ] Closed [ 6 ]


            • Assignee:
              mindless Alan Harder
              grhm Graham Smith
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created: