Gavin, I ended up writing a custom monitoring routine which pulls the api information from Jenkins and sends me a notification if a job is running long. There's a flag in the api xml that tells my script if a job is potentially stuck that I key off of.
I run it on a separate box and just use curl calls to get the api xml every few minutes. Unfortunately the stipulations of my employer would prevent me from sharing it. That, and it's really ugly code. 😀 Scott On Jun 25, 2014 5:28 PM, "Gavin Goodrich" <gavingoodr...@gmail.com> wrote: > OK, I know this one's been out before, but I can't find a good answer (so > please don't tell me to just use the timeout plugin that kills the job). > > What is the best way to know if a job has hung and, if possible, send a > notification? Again, I don't want to kill the job...just be notified. > > Thanks for any help you can give!! > > -gavin > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.