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

Reference the upstream job by using CauseAction

    Details

    • Similar Issues:

      Description

      The downstream job may be triggered from the upstream job by calling the build step. In this case, it doesn't make sense to use the last stable build from the upstream job.

      The downstream job should use the CauseAction to get the reference to the upstream job.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            As noted elsewhere, I do not really recommend relying on UpstreamCause, which was mainly intended as informational (for human display), not an authoritative source.

            Better IMO for the upstream build to name a particular workspace somehow, and pass this information as a parameter to the downstream build. Explicit, debuggable, safe for concurrent use.

            Show
            jglick Jesse Glick added a comment - As noted elsewhere, I do not really recommend relying on UpstreamCause , which was mainly intended as informational (for human display), not an authoritative source. Better IMO for the upstream build to name a particular workspace somehow, and pass this information as a parameter to the downstream build. Explicit, debuggable, safe for concurrent use.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Yep, good subject for discussion. Ideally the plugin could have a WorkspaceSelector extension point with different implementations.
            Unique IDs would be neat for Fingerprinting feature BTW.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Yep, good subject for discussion. Ideally the plugin could have a WorkspaceSelector extension point with different implementations. Unique IDs would be neat for Fingerprinting feature BTW.
            Hide
            alexsomai Alexandru Somai added a comment -

            Resolved with JENKINS-36742

            Show
            alexsomai Alexandru Somai added a comment - Resolved with JENKINS-36742

              People

              • Assignee:
                alexsomai Alexandru Somai
                Reporter:
                alexsomai Alexandru Somai
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: