set JENKINS_HOME environment variable, add assertion