Seting HUDSON_HOME to f:\data\hudson should do the trick
Thomas Lötzer
2010-09-03 12:21:21
I think this problem has not an easy solution. Besides deploying to an app server, I can come up with two options.
I'm not sure if this is what you want, but I run hudson simply via java -jar
, and then I can specify freely where the hudson war is. It seems the war unpacks into HUDSON_HOME when starting up, but I still have a separate directory where I keep the wars and download upgrades, and I can just change the shortcut when I want to run a newer war.
We run Hudson on a Windows server and use Tomcat as our container.
In this setup, you can set HUDSON_HOME to whatever you want, which holds the job configuration, and then the HUDSON.WAR file lives in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps.