Hi,

 You can easily automate your validations via groovy Jenkins api and run a 
jenkins job every X time to either report/notify or disable any jobs.

 That's how I automate any maintainace tasks.

 My tips:

  1) create your jobs via DSL.
   a) and run a system groovy step
  2) script your logic in groovy. Look at the scriptler and groovy post build 
plugins since there are a bunch of examples.

Ideally you will query every build which run in the last X time, read the log 
file and look for any regex if so disable that job and notify with some email. 
The first case will be similar but querying every job which hasn't run any 
build in the last X time and disable it.

Probably if it doesn't exist any plugin yet it would be a good idea to have a 
disable policy plugin in case any jobs haven't been triggered in the last X 
days and notify via email to the admin list. But I don't recall any plugin like 
that. 

I hope it helps.

Cheers

-- 
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/e6ce499a-07b9-4a87-b8a5-08cdaca1d4dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to