-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins version 1.482 running on CentOS 5.8
The value of "master" gets passed to the down stream job when you define NODE_LABELS in the Predefined parameters section of an upstream job.
See attached screenshot showing the "Predefined parameters section" of the upstream job and the console output of the downstream job.
[JENKINS-15749] Predefined parameters not passing correct NODE_LABELS environment variable information.
Attachment | New: Upstream job predefined parameters.jpg [ 22805 ] |
Attachment | New: Downstream project console output..jpg [ 22806 ] |
Attachment | New: NODE_LABEL value from upstream build..jpg [ 22807 ] |
As you can see, I have $NODE_LABELS as a predefined parameter.