I have a Jenkins set up on a remote server (linux) and I need to add a variable environment (to use Phing, or anything else, as my question is not related to this specific tool).
This is what I tried : Configure Jenkins server -> Global properties -> tick Environment variables
-> name=PHING_HOME, value=/path/to/phing
-> name=PATH, value=$PHING_HOME/bin:$PATH
Tried the same thing on the master node configuration. No difference.
After restarting, when I look at my job properties, PHING_HOME is added but is not shown in PATH variable. Also, neither changes are reflected on the general properties of Jenkins.
What did I do wrong ?