I notice that with our Jenkins 1.625.2, setting a Environment Variable for all nodes via jenkins/configure -> Global properties -> Environment variables
only work, iff the environment variable in question is not already defined in the Windows system environment of a node.
That is, if the Windows user that runs the Jenkins Slave process already has the environment variable FOOBAR, the setting FOOBAR in the global Jenkins Config has no effect on this node, whereas if the envvar is not there, then jobs run on the node will get it set to the global Jenkins config value.
Does anyone know if this is intended behavior, a bug, or whether I may be missing something to get the global setting override the system envvar on the Windows node?