Maybe you could use the XML API to query the time stamp of the build in an 
external script?  

For example, I can see the time stamps (in XML) of all the builds for the job 
named "MyJenkinsJob" job with this syntax:

http://localhost:8080/job/MyJenkinsJob/api/xml?tree=builds[timestamp]

You can learn more about the API by appending /api to most Jenkins URLs.

Mark Waite



>________________________________
> From: Chemmo <che...@gmail.com>
>To: jenkinsci-users@googlegroups.com 
>Sent: Friday, July 27, 2012 1:46 AM
>Subject: Notifying when a job hasn't run for a set period
> 
>
>Hey,
>
>
>Is there a plugin/other way to detect if a job hasn't run for (say) a day. We 
>have a remote trigger on one of our jobs which would be handy to know if it 
>hasn't run recently.
>
>
>Thanks
>
>

Reply via email to