-
Bug
-
Resolution: Fixed
-
Blocker
-
Jenkins 1.651.2, Jenkins 2.176.2
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).
- 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
Code changed in jenkins
User: Antonio Muñiz
Path:
src/main/java/hudson/matrix/MatrixChildParametersAction.java
src/main/java/hudson/matrix/MatrixConfiguration.java
http://jenkins-ci.org/commit/matrix-project-plugin/c684cc64bc16f37d45b3b704eab1324c46dd2868
Log:
JENKINS-34758Parameters visibility in child builds (SECURITY-170)