Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: matrix-project-plugin
-
Labels:
-
Environment:Jenkins 1.651.2, Jenkins 2.176.2
-
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:
- Create a multi-configuration job
- Add a single parameter named SERIAL
- Add a single axis (of any name)
- Add an "Execute shell" task with "set -eux; echo $SERIAL"
- Run the job, setting a SERIAL
- Observe failure
This appears to have been introduced in 1.651.2 (presumably as part of the parameter filtering changes).
Attachments
Issue Links
- is duplicated by
-
JENKINS-34865 Parameterized variables not being passed to build script
-
- Resolved
-
-
JENKINS-34801 Parametrization for matrix jobs does not work
-
- Closed
-
-
JENKINS-34787 All Parameters missing on multi-configuration jobs
-
- Closed
-
-
JENKINS-35103 BUILD_SELECTOR is not passed to matrix subprojects
-
- Closed
-
-
JENKINS-34856 build_timeout-plugin timeout causes exception in token marco plugin
-
- Closed
-
- is related to
-
JENKINS-35330 Matrix plugin forwards subversion tag parameter value as null
-
- Open
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | matrix-project-plugin [ 18765 ] | |
Component/s | core [ 15593 ] |
Labels | lts |
Link |
This issue is duplicated by |
Priority | Critical [ 2 ] | Blocker [ 1 ] |
Labels | lts | lts security-170 |
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. ] |
Comment | [ Thanks for letting me know. I'll redirect my issue to the appropriate bug report. ] |
Link |
This issue is duplicated by |
Remote Link | This issue links to "Tracking of all plugins affected by SECURITY-170 (Web Link)" [ 14311 ] |
Link |
This issue is duplicated by |
Assignee | Antonio Muñiz [ amuniz ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "PR (Web Link)" [ 14320 ] |
Link |
This issue is duplicated by |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Link |
This issue is duplicated by |
Link | This issue is related to JENKINS-35330 [ JENKINS-35330 ] |
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 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Workflow | JNJira [ 170941 ] | JNJira + In-Review [ 186365 ] |
Assignee | Antonio Muñiz [ amuniz ] | Manish Jawarilal [ mj_manish ] |
Assignee | Manish Jawarilal [ mj_manish ] | Antonio Muñiz [ amuniz ] |
Environment | Jenkins 1.651.2 | Jenkins 1.651.2 Jenkins 2.176.2 |
Environment | Jenkins 1.651.2 Jenkins 2.176.2 | Jenkins 1.651.2, Jenkins 2.176.2 |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |