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

Parameterized variables not being passed to build script

    Details

    • Similar Issues:

      Description

      When creating a multi-configuration job, parameters are not passed as environment variables.

      Screenshot of configuration: http://i.imgur.com/aPmXiXT.png

      Running, as the execute command 'set' (which dumps all environment variables), neither of those are visible (see attached output)

      When trying to view the Params of the submitted job, the panel is blank: http://i.imgur.com/DcwOR5a.png

      Jenkins version is reported as 2.4, installed via RPM from http://pkg.jenkins-ci.org/redhat

      This appears to be a regression with SECURITY-170 - Adding -Dhudson.model.ParametersAction.keepUndefinedParameters=true to JENKINS_JAVA_OPTIONS in /etc/sysconfig/jenkins then make the parameters visible again.

      Note that these Params are explicitly defined in the job, and should not be getting removed.

        Attachments

          Issue Links

            Activity

            xrobau Rob Thomas created issue -
            xrobau Rob Thomas made changes -
            Field Original Value New Value
            Description When creating a multi-configuration job, parameters are not passed as environment variables.

            Screenshot of configuration: http://i.imgur.com/aPmXiXT.png

            Running, as the execute command 'set' (which dumps all environment variables), neither of those are visible (see attached output)

            When trying to view the Params of the submitted job, the panel is blank: http://i.imgur.com/DcwOR5a.png

            When creating a multi-configuration job, parameters are not passed as environment variables.

            Screenshot of configuration: http://i.imgur.com/aPmXiXT.png

            Running, as the execute command 'set' (which dumps all environment variables), neither of those are visible (see attached output)

            When trying to view the Params of the submitted job, the panel is blank: http://i.imgur.com/DcwOR5a.png

            Jenkins version is reported as 2.4, installed via RPM from http://pkg.jenkins-ci.org/redhat

            xrobau Rob Thomas made changes -
            Attachment support_2016-05-17_01.36.13.zip [ 32730 ]
            xrobau Rob Thomas made changes -
            Description When creating a multi-configuration job, parameters are not passed as environment variables.

            Screenshot of configuration: http://i.imgur.com/aPmXiXT.png

            Running, as the execute command 'set' (which dumps all environment variables), neither of those are visible (see attached output)

            When trying to view the Params of the submitted job, the panel is blank: http://i.imgur.com/DcwOR5a.png

            Jenkins version is reported as 2.4, installed via RPM from http://pkg.jenkins-ci.org/redhat

            When creating a multi-configuration job, parameters are not passed as environment variables.

            Screenshot of configuration: http://i.imgur.com/aPmXiXT.png

            Running, as the execute command 'set' (which dumps all environment variables), neither of those are visible (see attached output)

            When trying to view the Params of the submitted job, the panel is blank: http://i.imgur.com/DcwOR5a.png

            Jenkins version is reported as 2.4, installed via RPM from http://pkg.jenkins-ci.org/redhat

            This appears to be a regression with SECURITY-170 - Adding -Dhudson.model.ParametersAction.keepUndefinedParameters=true to JENKINS_JAVA_OPTIONS in /etc/sysconfig/jenkins then make the parameters visible again.

            Note that these Params are *explicitly defined* in the job, and should not be getting removed.
            vnkarthik87 KARTHIK VELAYUDHAN made changes -
            Labels Parameterized
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-34758 [ JENKINS-34758 ]
            danielbeck Daniel Beck made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 171064 ] JNJira + In-Review [ 199024 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                xrobau Rob Thomas
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: