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

getting incorrect parameter values from upstream job when a manual downstream job is shared by multiple upstream jobs.

      to reproduce the issue:
      1. create a parameterized job called upstreamA with upstreamJobName parameter, add auto-downstream job as a downstream parameterized job, and add manual-downstream job as a manual downstream job
      2. create a parameterized job called upstreamB with upstreamJobName parameter, add auto-downstream job as a downstream parameterized job, and add manual-downstream job as a manual downstream job
      3. create a parameterized job called 'manual-downstream' with upstreamJobName parameter and set Build name to ${ENV,var="upstreamJobName"}-${BUILD_NUMBER} (have to use Set Build Name plugin)
      4. create a parameterized job called 'auto-downstream' with upstreamJobName parameter and set Build name to ${ENV,var="upstreamJobName"}-${BUILD_NUMBER} (have to use Set Build Name plugin)
      5. Create a build pipeline view named 'pipelineA' and set upstreamA as initial job
      6. Create a build pipeline view named 'pipelineB' and set upstreamB as initial job
      7. go to upstreamA and trigger the job with upstreamJobName = upstreamA
      8. go to upstreamB and trigger the job with upstreamJobName = upstreamB
      9. go to pipelineA view and trigger the manual downstream job
      10. go to pipelineB view and trigger the manual downstream job
      11. After a while, refresh pipelineA and pipelineB views' pages and then watch manual jobs' build names. Both will have the same names on manual jobs' builds.

          [JENKINS-21527] getting incorrect parameter values from upstream job when a manual downstream job is shared by multiple upstream jobs.

          shane kim created issue -
          Marcus Philip made changes -
          Link New: This issue is related to JENKINS-20485 [ JENKINS-20485 ]

          shane kim added a comment - Merged into jenkins' master. https://github.com/jenkinsci/build-pipeline-plugin/pull/24 https://github.com/jenkinsci/build-pipeline-plugin/commit/376b460e12576e5285394da9fc8a9d275cfcf3a9
          shane kim made changes -
          Fix Version/s New: current [ 10162 ]
          Assignee New: shane kim [ shinstudio ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153524 ] New: JNJira + In-Review [ 194571 ]

            shinstudio shane kim
            shinstudio shane kim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: