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

MultiJob predefined parameters no longer passed to phase project

      In a MultiJob Project in the MultiJob Phase the Predefined parameters are no longer being passed to the phase project. In Jenkins version 1.651.1 or prior I defined env vars $PARENT_WORKSPACE and $UNIFIED_BUILD_NUMBER, using Inject Environment Variable.
      Then I passed these as Predefined Parameters to the Phase project. In the Phase project, the environment variables were undefined.
      After I upgraded to 1.651.2 this stopped working. Then I downgraded back to 1.651.1 and the functionality was restored.

          [JENKINS-34864] MultiJob predefined parameters no longer passed to phase project

          Kerry Hill created issue -
          M Chon made changes -
          Component/s New: envinject-plugin [ 15893 ]
          M Chon made changes -
          Component/s New: core [ 15593 ]
          M Chon made changes -
          Attachment New: Screen Shot 2016-05-16 at 10.35.55 AM.png [ 32726 ]
          Labels Original: jenkins plugin New: envinject jenkins multi-job plugin
          M Chon made changes -
          Attachment Original: Screen Shot 2016-05-16 at 10.35.55 AM.png [ 32726 ]
          M Chon made changes -
          Attachment New: Screen Shot 2016-05-16 at 10.35.55 AM.png [ 32727 ]
          M Chon made changes -
          Attachment New: Multijob Parameterized Trigger Predefined Parameters.PNG [ 32728 ]
          Labels Original: envinject jenkins multi-job plugin New: envinject jenkins multi-job parameterized-trigger plugin
          M Chon made changes -
          Attachment Original: Screen Shot 2016-05-16 at 10.35.55 AM.png [ 32727 ]
          M Chon made changes -
          Description Original: In a MultiJob Project in the MultiJob Phase the Predefined parameters are no longer being passed to the phase project. In Jenkins version 1.651.1 or prior I could pass the $WORKSPACE and $BUILD_NUMBER to the phase project, and after I upgraded to 1.651.2 this stopped working. Then I downgraded back to 1.651.1 and the functionality was restored. New: In a MultiJob Project in the MultiJob Phase the Predefined parameters are no longer being passed to the phase project. In Jenkins version 1.651.1 or prior I defined env vars $PARENT_WORKSPACE and $UNIFIED_BUILD_NUMBER, using Inject Environment Variable.
          Then I passed these as Predefined Parameters to the Phase project. In the Phase project, the environment variables were undefined.
          After I upgraded to 1.651.2 this stopped working. Then I downgraded back to 1.651.1 and the functionality was restored.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171063 ] New: JNJira + In-Review [ 184146 ]
          Oleg Nenashev made changes -
          Component/s Original: core [ 15593 ]
          Component/s Original: envinject-plugin [ 15893 ]

            Unassigned Unassigned
            mcqkerry Kerry Hill
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: