Commit graph

6 commits

Author SHA1 Message Date
Michael Nutt
b94280c15c Change from notification after_success and after_failure to change
Also removes the extra db field; instead, just send Prior as part of the Request.

This reverts commit e8b993e7da.
2014-12-30 13:25:14 -05:00
Michael Nutt
e8b993e7da Add support for after_success and after_failure to email notifications
This allows you to restrict email notifications to only be sent after the build changes from success to failure or failure to success.  It errs on the side of sending the notification; if the build is in another state (hung, for instance) or there was no previous build on the branch the email will also be sent.

Since the notify plugin shouldn't really have any responsibility for querying the database to find the previous commit's status, we store it on the commit when we save it.
2014-12-30 11:37:57 -05:00
Brad Rydzewski
6f3997f4e1 moved IRC and Webhooks to their own packages
updated email template to include link to build
updated readme to include correct badge
2014-09-09 23:19:04 -07:00
Brad Rydzewski
ca3d15bca2 refactored how remotes work and how (some) config is loaded 2014-09-03 00:23:36 -07:00
Brad Rydzewski
15397747cd improved email subject 2014-08-03 21:36:54 -07:00
Brad Rydzewski
994b6f0994 added email notifications 2014-08-03 14:45:50 -07:00