I am trying to override TMPDIR for builds kicked off on one of my nodes.
I've added a new value in the node properties environment variables:
But when I run my job, TMPDIR is still set to the system value. ZIG does get set, however:
# Output from job running `env`
TMPDIR=/var/folders/nf/p0pz9cv93wz8m314wyk3yp_h0000gn/T/
ZIG=Zag
The same thing happens if I add the environment settings to the Jenkins master config. I can successfully use the EnvInject Plugin to change it on each job, but we have a number of jobs and I would really prefer that it be a node configuration (the node has a dedicated build drive).
How can I override TMPDIR for all builds launched on this node?
I am using Jenkins 1.624 on OS X Yosemite 10.10.5.