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

MultiJob predefined parameters no longer passed to phase project

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            langtonben Ben Langton added a comment -

            https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11

            Jenkins > 2.2 is also affected. This new behavior is by design. I suspect a lot of people will disable it
            An option to hide parameters on the Build With Parameters screen would be useful. It is sometimes necessary to pass parameters from one job to another, but you don't necessarily want those parameters exposed when the job is run by itself.

            langtonben Ben Langton added a comment - https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11 Jenkins > 2.2 is also affected. This new behavior is by design. I suspect a lot of people will disable it An option to hide parameters on the Build With Parameters screen would be useful. It is sometimes necessary to pass parameters from one job to another, but you don't necessarily want those parameters exposed when the job is run by itself.
            oleg_nenashev Oleg Nenashev added a comment -

            Closing as a duplicate of JENKINS-36124, which has been fixed in MultiJob 1.22

            oleg_nenashev Oleg Nenashev added a comment - Closing as a duplicate of JENKINS-36124 , which has been fixed in MultiJob 1.22

            People

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

              Dates

                Created:
                Updated:
                Resolved: