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

Parameterized variables not being passed to build script

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core

      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.

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

              Created:
              Updated:
              Resolved: