dfdfd
dfdfd

Reputation: 71

How to change the home directory of hudson?

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.

Upvotes: 1

Views: 7924

Answers (2)

William Leara
William Leara

Reputation: 10697

  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.

Upvotes: 2

Joshua McKinnon
Joshua McKinnon

Reputation: 24719

See: Administering Hudson

I pass the following:

-DHUDSON_HOME=path/to/hudson

to my container (Tomcat).

Upvotes: 2

Related Questions