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