We used a network monitoring system to raise an alarm if any job was in the queue longer than a threshold time. We did that by reading the HTML of the top Jenkins page and parsing the content.
It wasn't a terribly elegant solution, but it worked. Looking back, we probably should have created a plugin and shared the plugin. Mark Waite On Fri, Jan 15, 2016 at 11:00 AM Bill Prin <[email protected]> wrote: > Hey, I posted this question on Stack Overflow but I didn't get an answer > yet. Trying here: > > > http://stackoverflow.com/questions/34798641/how-do-i-get-jenkins-to-email-me-about-jobs-that-dont-run > >> >> I have a nightly Jenkins job with the "Restrict where this job can be >> run" job checked that ties it to build agents with specific labels. >> Recently, there were some issues where there were no build agents with that >> label, so the jobs didn't run at all. However, since the job didn't run, >> there was no email sent that it failed, so build failures didn't surface. >> Is there any way to get email notifications for Jenkins builds that don't >> run at all? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/81b3802f-552b-4e60-9391-6ec73d610233%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/81b3802f-552b-4e60-9391-6ec73d610233%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHs5k9_5JZaHfd8_zdseAkUdMjFrT6uErK581Mjak6-Xg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
