You can use the Script Console to fetch the jobs you want, and then call
logRotate() on each of them.
Probably something like this should work, not that I've tested it:
for(job in Hudson.instance.items) {
job.logRotate()
}
Take a look at the examples on the wiki for more info, and if you come
up with something good, you can add it to the list:
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Regards,
Chris
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.