If you want to save only the 10 most recent builds, go into the job configuration and check the "Discard Old Bulds" box, and set "Max # of builds to keep" to 10. Be sure to save your changes. No builds will be deleted until the next time the job is run.

Regards,
Eric

On 9/18/2014 11:05 AM, Alex Brodov wrote:
I have a lot of jobs in jenkins, i'd like to know how can i shelve them, as far as i know there is a way tu run a script in Jenkins that will do that, for example if i have job 'x' that has 100 builds and job 'y' that has 120 builds and i want to make a rule that will delete all the builds log untill 10, any idea how should i do that ?
--
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 jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to