build timeout but 'send email' instead of 'abort build'?

35 views
Skip to first unread message

John Popowitch

unread,
Apr 12, 2016, 2:06:44 PM4/12/16
to Jenkins Users
Is there a way to send an email if a build takes too long, like build timeout plugin but 'send email' vs. 'abort build'?

We'd like to monitor our builds and send an email to an admin or list of admins if a build or build step takes too long (preferably a configurable value per build and/or build step).
The Build-Timeout plugin looks really close, but we don't want to abort the build.
Any suggestions?

Thanks.
JP

Victor Martinez

unread,
Apr 12, 2016, 3:04:44 PM4/12/16
to Jenkins Users
In addition of that plugin you can use https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin and send an email when that particular build has been aborted

Cheers

John Popowitch

unread,
Apr 18, 2016, 11:03:47 AM4/18/16
to Jenkins Users
That sounds good, but is there a way to trigger an email if a build is still running but has gone over some type of time limit?
Reply all
Reply to author
Forward
0 new messages