You could probably use a Console/Scriptler script to do the cleanup via the Hudson/Jenkins API, and in fact IIRC there are a couple Scriptler scripts that do things along these lines.
On Thursday, August 6, 2015 at 8:21:05 AM UTC-7, [email protected] wrote: > > I'm aware of the options for keeping old builds but deleting old > artifacts. > I have a slightly different requirement: I want to delete _some_ of the > artifacts from old builds, but keep the builds themselves plus some of the > artifacts. > My artifacts comprise some large binaries (which I don't need to keep for > very long), plus a few text files describing the build, which need to be > kept (along with the build log, test results etc). > > At the moment, we have a bash script that runs nightly and deletes the > "large" artifacts according to some rule. > Can anyone suggest a more Jenkins-ish way of doing this? > > Thanks > Matthew > > > -- > This e-mail and any attachments may contain confidential, copyright and or > privileged material, and are for the use of the intended addressee only. If > you are not the intended addressee or an authorised recipient of the > addressee please notify us of receipt by returning the e-mail and do not > use, copy, retain, distribute or disclose the information in or attached to > the e-mail. > Any opinions expressed within this e-mail are those of the individual and > not necessarily of Diamond Light Source Ltd. > Diamond Light Source Ltd. cannot guarantee that this e-mail or any > attachments are free from viruses and we cannot accept liability for any > damage which you may sustain as a result of software viruses which may be > transmitted in or with the message. > Diamond Light Source Limited (company no. 4375679). Registered in England > and Wales with its registered office at Diamond House, Harwell Science and > Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/894fd064-3403-4bab-b78b-f26fb969000a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
