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

Predifined parameters not received by non-parameterized jobs

    Details

    • Similar Issues:

      Description

      Hi,

      The title says it all:   "Predifined parameters" are seen by jobs who are not parameterized.

      This used to work in my previous configuration:
      jenkins 1.654
      Parameterized Trigger plugin 2.32

        Attachments

          Activity

          krissap Chris J created issue -
          Hide
          krissap Chris J added a comment -

          Few minutes after opening this defect I found a workaround! (found here)

          Just run the line below in Jenkins "Script Console":

          System.setProperty("hudson.model.ParametersAction.keepUndefinedParameters", "true")

          And that's it!
          With this setting, parameters can be sent from jobs to jobs even if those jobs are not parameterized.

           

          Show
          krissap Chris J added a comment - Few minutes after opening this defect I found a workaround! ( found here ) Just run the line below in Jenkins "Script Console": System.setProperty("hudson.model.ParametersAction.keepUndefinedParameters", "true") And that's it! With this setting, parameters can be sent from jobs to jobs even if those jobs are not parameterized.  

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              krissap Chris J
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: