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

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

    Details

    • Similar Issues:

      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

            odd_bloke Daniel Watkins created issue -
            orrc Christopher Orr made changes -
            Field Original Value New Value
            Component/s matrix-project-plugin [ 18765 ]
            Component/s core [ 15593 ]
            odd_bloke Daniel Watkins made changes -
            Labels lts
            inb Ian Norton made changes -
            Link This issue is duplicated by JENKINS-34787 [ JENKINS-34787 ]
            inb Ian Norton made changes -
            Priority Critical [ 2 ] Blocker [ 1 ]
            orrc Christopher Orr made changes -
            Labels lts lts security-170
            hiddenmaverick Hidden Maverick made changes -
            Comment [ I have confirmed that this issue also affects jobs that contain promoted builds using the latest Promoted Builds Plugin, with Jenkins 1.651.2 running on CentOS 7.2.1511. The build parameters defined in a job are not passed to the promoted builds, causing the job to break.

            Downgrading to Jenkins 1.651.1 allowed the affected jobs to function again. ]
            hiddenmaverick Hidden Maverick made changes -
            Comment [ Thanks for letting me know. I'll redirect my issue to the appropriate bug report. ]
            orrc Christopher Orr made changes -
            Link This issue is duplicated by JENKINS-34801 [ JENKINS-34801 ]
            aarondmarasco_vsi Aaron D. Marasco made changes -
            Remote Link This issue links to "Tracking of all plugins affected by SECURITY-170 (Web Link)" [ 14311 ]
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-34865 [ JENKINS-34865 ]
            amuniz Antonio Muñiz made changes -
            Assignee Antonio Muñiz [ amuniz ]
            amuniz Antonio Muñiz made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            amuniz Antonio Muñiz made changes -
            Remote Link This issue links to "PR (Web Link)" [ 14320 ]
            ikedam ikedam made changes -
            Link This issue is duplicated by JENKINS-34856 [ JENKINS-34856 ]
            amuniz Antonio Muñiz made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ikedam ikedam made changes -
            Link This issue is duplicated by JENKINS-35103 [ JENKINS-35103 ]
            gmc_devel GMC Software Development B&R Corporate made changes -
            Link This issue is related to JENKINS-35330 [ JENKINS-35330 ]
            gmc_devel GMC Software Development B&R Corporate made changes -
            Comment [ 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., als "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 made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170941 ] JNJira + In-Review [ 186365 ]
            mj_manish Manish Jawarilal made changes -
            Assignee Antonio Muñiz [ amuniz ] Manish Jawarilal [ mj_manish ]
            mj_manish Manish Jawarilal made changes -
            Assignee Manish Jawarilal [ mj_manish ] Antonio Muñiz [ amuniz ]
            javydreamercsw javydreamercsw made changes -
            Environment Jenkins 1.651.2 Jenkins 1.651.2 Jenkins 2.176.2
            javydreamercsw javydreamercsw made changes -
            Environment Jenkins 1.651.2 Jenkins 2.176.2 Jenkins 1.651.2, Jenkins 2.176.2
            owenmehegan Owen Mehegan made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            owenmehegan Owen Mehegan made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: