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

Parameters are not passed to child jobs in multi-configuration projects

    XMLWordPrintable

Details

    Description

      Parameters passed to a multi-configuration job are, apparently, filtered out before being passed through to child builds. This problem does not exhibit on freestyle jobs.

      Steps to reproduce:

      1. Create a multi-configuration job
      2. Add a single parameter named SERIAL
      3. Add a single axis (of any name)
      4. Add an "Execute shell" task with "set -eux; echo $SERIAL"
      5. Run the job, setting a SERIAL
      6. Observe failure

      This appears to have been introduced in 1.651.2 (presumably as part of the parameter filtering changes).

      Attachments

        Issue Links

          Activity

            Issue JENKINS-35330 describes that the content of "List subversion tags and more" and branch parameters of the Git plugin are not passed to the child jobs (I.e., as "null"). I think, the the applied fix should be revised for this types of parameters. Therefore, I've setup a link between these two issues and re-opened this issue ...

            Best regards from Salzburg,
            Markus

            gmc_devel GMC Software Development B&R Corporate added a comment - - edited Issue JENKINS-35330 describes that the content of "List subversion tags and more" and branch parameters of the Git plugin are not passed to the child jobs (I.e., as "null"). I think, the the applied fix should be revised for this types of parameters. Therefore, I've setup a link between these two issues and re-opened this issue ... Best regards from Salzburg, Markus

            Reassigning, after it got assigned to me by mistake.

            mj_manish Manish Jawarilal added a comment - Reassigning, after it got assigned to me by mistake.

            Hi Team,

            Any update on this issue. Am stuck with the same problem. Jenkins version: Jenkins ver. 1.651.3

            mj_manish Manish Jawarilal added a comment - Hi Team, Any update on this issue. Am stuck with the same problem. Jenkins version:  Jenkins ver. 1.651.3

            I believe this is still the case on 2.176.2.

            javydreamercsw javydreamercsw added a comment - I believe this is still the case on 2.176.2.
            owenmehegan Owen Mehegan added a comment -

            This bug was fixed and released in matrix-project 1.7 back in 2016. If you are seeing a similar issue, please open a new jira.

            owenmehegan Owen Mehegan added a comment - This bug was fixed and released in matrix-project 1.7 back in 2016. If you are seeing a similar issue, please open a new jira.

            People

              amuniz Antonio Muñiz
              odd_bloke Daniel Watkins
              Votes:
              29 Vote for this issue
              Watchers:
              43 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: