-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins ver. 2.46.2
Since latest upgrade of (pipeline) plug-ins, global variables take precedence over variables defined by nodes. Before the update it was possible for a node to override a global variable and adjust it to the local needs.
Might be related to the changes made for , amongst others the Pipeline: Job plug-in was updated from 2.10 to 2.11 on our systemJENKINS-43396
- is duplicated by
-
JENKINS-45805 Node environment variables don't override global values in pipeline job
-
- Resolved
-
-
JENKINS-44465 Regression: pipeline does not see Node Properties overrides
-
- Resolved
-
- is related to
-
JENKINS-54767 Global variables are overriding local variables
-
- In Review
-
Again—I recommend not touching the current logic.
If you want to control environment variables used during builds, use the withEnv step or an equivalent, or simply set variables inside shell scripts. Steer clear of node properties and Jenkins global configuration.