How to change the home directory of hudson?
I deployed hudson.w开发者_运维百科ar 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.
See: Administering Hudson
I pass the following:
-DHUDSON_HOME=path/to/hudson
to my container (Tomcat).
- Start button
- Right-click "Computer", then Properties
- Click Advanced System Settings
- Click Environment Variables
- 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.
精彩评论