View Maintenance Jobs Scheduler on the plugin site for more information.
Perform deleting or disabling of old jobs based on some cron tasks. You can configure this plugin globally based on some specific scheduler, excluding jobs with some regex, add some description in each disabling job (for tracking purposes), apply that filter for those jobs older than X days.
Jenkins is an awesome Automation System, and there are a bunch of people using it in different ways, for example: developers, testers, automation, build engineers, release engineers, scrum master, product owner and so on. Unfortunately, as the number of jobs grows, maintaining them becomes tedious, and the paradigm of no using a predefined set of maintenance jobs action fall apart.
The Maintenance Jobs Scheduler plugin attempts to solve this problem by running a cronly task based on some parameters.
Manually reviewing those jobs wouldn't be too hard, but doing the same thing all over again for every job or for a hundred other projects is where it gets difficult and tedious. This provides a much more powerful way of analyzing them.
Go to Manage Jenkins - Configure System - Maintenance Jobs Scheduler section:
You can see the method in the below url:
- https://github.com/jenkinsci/maintenance-jobs-scheduler-plugin/blob/master/src/main/java/org/jenkinsci/plugins/maintenancejobsscheduler/MaintenanceJobsPeriodicWork.java#L45 Although it's not supported yet, the execute method will return the list of disabled/removed jobs then you will be able to iterate them
Version 0.1.1 (Upcoming release)
- Change execute signature and return List of Jobs
Version 0.1.0 (Dec 28, 2015)
- Initial release
Screen Shot 2015-07-05 at 13.54.43.png (image/png)
Screen Shot 2015-07-05 at 13.54.56.png (image/png)
Screen Shot 2015-07-08 at 00.15.03.png (image/png)
Screen Shot 2015-07-08 at 00.14.44.png (image/png)
Screen Shot 2015-07-08 at 00.27.46.png (image/png)
Screen Shot 2015-08-26 at 20.46.42.png (image/png)
Screen Shot 2015-08-26 at 20.50.15.png (image/png)