tags:

views:

221

answers:

3

I deployed hudson.war in the sun application server 9.1. I like to check how can i change the home directory of hudson to point to another directory becasue if using a .hudson directory is not ok as i have very little diskspace left in main disk drive.

+2  A: 

See: Administering Hudson

I pass the following:

-DHUDSON_HOME=path/to/hudson

to my container (Tomcat).

Joshua McKinnon
A: 

How can I do it on Windows? I installed Hudson and added it (.war file) to tomcat webapps, tomcat created C:.hudson folder and everything goes there for hudson build. Now I want to change C:.hudson to L:.Hudson, how can I do that?

Regards

Jack
A: 
  1. Start button
  2. Right-click "Computer", then Properties
  3. Click Advanced System Settings
  4. Click Environment Variables
  5. Under "System Variables" click New..., and make a new variable called HUDSON_HOME. Set this to your desired directory.

Now create a new CMD.EXE and launch Hudson, or restart Tomcat and Hudson will use the new directory.

William Leara

related questions