Status: Open (View Workflow)
Jenkins 1.609.3 LTS
Matrix Project Plugin 1.7
Subversion Plugin 2.5.7
I have a matrix job which has "List subversion tags and more" parameters. (i.e. variable name SELECT_BRANCH)
I try to use the variable in a shell script.
The builds fail because the variable contains the value null instead of the selected svn branch.
Executing printenv shows me:
Note: Downgrade to Matrix Project Plugin version 1.6 fixes the issue.
- is related to
JENKINS-34758 Parameters are not passed to child jobs in multi-configuration projects
I have the same issue, but with the branch parameters of the Git plugin. This makes it completely impossible to build Gitlab merge requests with Jenkins. It seems the more general problem is inability to pass on parameters from parent build to child builds.
- Jenkins 2.6
- Matrix plugin 1.7
- Git plugin 2.4.4
How many Jenkins-Variable are in use in these cases?
I have a complex test environment.
My jobs have about 70 Variable to describe the different test environments of the slaves and the different test steps to execute for the slaves.
If I try to use Matrix plugin 1.7 I see only 49 of the variables in the matrix jobs after the split.
If I go back to version 1.6 of the matrix project plugin I see all the variables in matrix job after the split
- Jenkins 2.10 with define -Dhudson.model.ParametersAction.keepUndefinedParameters=true set
I added two attachments with harcopys of the different varaible listing with the diferent plugin versions
Yesterday I mixed the names of the pdf.
The smaller PDF with 1_6 in the name, a hardcopy of job #593, was done with plugin version 1.7 active.
The larger PDF with 1_7 in the name, a hardcopy of job #594, was done with plugin version 1.6 active.
Beg your pardon for my mistake.
Same issue fully reproducible with SVN in our build environment (started also after upgrading to newer Matrix plugin 1.7.1):
Matrix Configuration Parameter Plugin 1.0.9
Matrix Groovy Execution Strategy Plugin 1.0.4
Matrix Project Plugin 1.7.1
Matrix Reloaded Plugin 1.1.3
Matrix sorter plugin 1.1
Matrix Tie Parent plugin 1.2
Today i tried the version 1.7.1 again with jenkins 2.15.
I discovered, that none of my jenkins variablen defined in the job are passed to the matrix jobs, except the matrix defining variable.
The count of the defined variables does not have any effect.
The parameter -Dhudson.model.ParametersAction.keepUndefinedParameters=true is set in the environment.
Same here. Matrix project 1.7+ seems to wipe any environment variable. Issue disappears when rolling back to 1.4.1 fix the issue.
Same issue after upgrading to Matrix Project Plugin 1.7, on:
IMHO, bumped priority to Critical, because this issue breaks jobs.