Folks,
JAVA_HOME does not exist in my build environment even though it is set in my .bashrc.
I set JAVA_HOME and AAA_JUNKME in my .bashrc on the build node as follows:
JAVA_HOME=/usr/lib/jvm/java
export JAVA_HOME
AAA_JUNKME=junkme1
export AAA_JUNKME
I start the node and see the env vars in the node log:
01/20/11 10:40:30] [SSH] The remote users environment is:
AAA_JUNKME=junkme1
...
JAVA_HOME=/usr/lib/jvm/java
I kick off a build and dump the environment (sorted):
AAA_JUNKME=junkme1
...
IFS=$' \t\n'
JOB_NAME=D...-Eric
JOB_URL=
http://D...Eric/LANG=en_US.UTF-8
Notice that only JOB_NAME and JOB_URL exist in J portion of the environment.
It seems that something is unsetting JAVA_HOME. Any thoughts?
I know that I can hard code JAVA_HOME in the node or in the build plan, but I really do not want to do this.
Eric