husdon build clean up?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

husdon build clean up?

James Rhodes-2
Hi all,
What is the best way to manually clean up builds in Hudson? Is it safe to simply delete them from the jobs/builds directory? I've seen a couple issues with deleting the builds using the build history "Delete this build" command.
I when I was configuring hudson, I was also making some ant changes so I have lots of builds that resulted from the test and are really worth anything as far as build history goes.
Thanks,
 
B
Reply | Threaded
Open this post in threaded view
|

Re: husdon build clean up?

Kohsuke Kawaguchi
Administrator
James Rhodes wrote:
> Hi all,
> What is the best way to manually clean up builds in Hudson? Is it safe to
> simply delete them from the jobs/builds directory? I've seen a couple issues
> with deleting the builds using the build history "Delete this build"
> command.

Delete this build command should work, as well as just deleting the
directories on the file system. When you do the latter, you need to
restart Hudson or "reload from disk" to see the effects on the Hudson UI.

If you see any strange errors in deleting builds from GUI, please report
them as bugs, so that we can fix them.

> I when I was configuring hudson, I was also making some ant changes so I
> have lots of builds that resulted from the test and are really worth
> anything as far as build history goes.
> Thanks,


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: husdon build clean up?

James Rhodes-2
Thanks and will do on the bug reports. I couldn't replicate this to send an offical bug report, but the error I saw was a tomcat, "file in use" (paraphrase) error. If I see it again I'll report it.
 
B

 
On 4/29/07, Kohsuke Kawaguchi <[hidden email]> wrote:
James Rhodes wrote:
> Hi all,
> What is the best way to manually clean up builds in Hudson? Is it safe to
> simply delete them from the jobs/builds directory? I've seen a couple issues
> with deleting the builds using the build history "Delete this build"
> command.

Delete this build command should work, as well as just deleting the
directories on the file system. When you do the latter, you need to
restart Hudson or "reload from disk" to see the effects on the Hudson UI.

If you see any strange errors in deleting builds from GUI, please report
them as bugs, so that we can fix them.

> I when I was configuring hudson, I was also making some ant changes so I
> have lots of builds that resulted from the test and are really worth
> anything as far as build history goes.
> Thanks,


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]