How to change the build directory of a Hudson job?

My C: drive is full. I wish to move the builds folder from the job to another location. I can cheat with the help of the JUNCTION utility to redirect the original builds folder, but I am interested to know if there is the Hudson way to do it right.

Thanks.


Solution 1:

There is an option (under Advanced Project Options) to choose a custom workspace in the hudson job. You can put the entire path there. This could be on your D or E or whatever other drive you want to use. You can do this for every job, and have a different workspace for each one.

alt text

Solution 2:

I know this is an old question, but I've just come across the same issue. This blog post was very helpful.

It is possible to change the default workspace and build folders for the whole server, not just per project.

Manage Jenkins -> Configure System -> Advanced

Screen shot