-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
Jenkins ver. 1.427
Parameterized Trigger Plugin 2.12
The parameterised plugin doesn't include the "label name" in the JOB_NAME environment variable in a multi-configuration project. This was a useful feature in hudson.
The downstream project needs to know which label the parent job ran from and take a course of action based on that.
For example, when passing the job name to a downstream project, I would expect the variable to contain job-Test\label=windows and not just job-Test
Can this issue be fixed and allow the passing of the correct label in the job name?
Is this a post-build trigger or as a buildstep.
If done as a post-build step the downsteam jobs are triggered only once from the parent matrix project so does not have access to the full paths and labels for all of the configurations. only that of the parent job variables which JOB_NAME in this case is the name of the job.
If triggered as a buildstep then the JOB_NAME environment variable should match what is available in the shell for that configuration.