[greg and james] check for environmental variable JENKINS_HOME