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

Predifined parameters not received by non-parameterized jobs

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.60.1
      Parameterized Trigger plugin 2.35

      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

          [JENKINS-45521] Predifined parameters not received by non-parameterized jobs

          Krip 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.

           

          Krip 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.  

            huybrechts huybrechts
            krissap Krip
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: