Hi, as explain here https://wiki.jenkins-ci.org/display/JENKINS/Before+starting+a+new+plugin, I'd like to know before hacking my own plugin if there is any existing plugin for my current issues.
People create jobs but never delete them when they either: quit the company, move to an other project, delete the branch/tags in the scm associated with a job, etc... >From time to time I cleanup old jobs manually and it's a boring job :( Do you know any plugin that could (by order of priorirty): - deactivate never build jobs after a certain period of time X +send a notification mail to the latest commiter - then delete them after X+Y days - deactivate jobs in case of unreachable scm url + email notification - delete user listed in jenkins but not in ldap anymore or desactivated (a sign that the person as left the company) Another issue is that people use there own credentials to checkout from scm in jenkins. when they change their passwords (every 3 months 'enterprise active directory password policy'), they forget to change the one in jenkins... jenkins then tried many times to query the subversion server, but fails ... unfortunately the subversion server thinks it's a DoS attack and then blacklist the jenkins server (and actually a whole part of the company network) :( We force people to use service accounts which password don't change or deploy key for gitlab but I'm reluctant to deactivate the possibility to use one own credentials since creating the service account can take some time... I created a Log Recorder that logs scm errors (jenkins.scm.impl.subversion & hudson.scm) but it doesn't prevent the problem just help find the origin :( I'd like to send email notifications to a list of admins and the user associated with those failing credentials and eventually deactivate the jobs as soon as such event may occur... any plugin ? I could script this using jenkins api, curl, python etc. but looking at my requirements the plugin can become quite complex so java seems more accurate... Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/15334131-e51d-46cb-a19e-83be77a83c4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
