Filed under: Continuous integration, — Tags: HUDSON_HOME, Hudson, JENKINS_HOME, Jenkins — Thomas Sundberg — 2011-03-07
How do you set the working directory for your Jenkins (formerly known as Hudson) continuous build server to
something else than System.getProperty("user.home")+"/.hudson"
?
The answer is to set the environment variable JENKINS_HOME
to the directory you want to use as Jenkins
working directory.
An example could be:
JENKINS_HOME=C:\ci\jenkins\workspace