Removing obsolete artifacts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing obsolete artifacts

pmendelson
I have set up a project and went through a few fits and starts getting my archive post-build to archive what I wanted.  As a consequence my file names have changed several times and I have archives that I want to remove.  When I click on details I see their fingerprints and their associated builds.

Is it possible to delete these archives and associated fingerprints without removing the associated builds?
Reply | Threaded
Open this post in threaded view
|

Re: Removing obsolete artifacts

Kohsuke Kawaguchi-2
pmendelson wrote:
> I have set up a project and went through a few fits and starts getting my
> archive post-build to archive what I wanted.  As a consequence my file names
> have changed several times and I have archives that I want to remove.  When
> I click on details I see their fingerprints and their associated builds.
>
> Is it possible to delete these archives and associated fingerprints without
> removing the associated builds?

Yeah, the easiest is to just go into the server file system and delete
archived files. The files in the hudson workspace should be structured
in a fairly obvious way.

I think for one-time maintenance work like this, nothing beats good old CLI.

fingerprints are harder to delete as they are indexed by their md5 sum.
Unless you are really short on disk space, it's probably the best to
just let it around. The "GC" routine kicks in every day to clean up
records that are no longer in use.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment