harness-drone/shared/model
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
..
cctray.go added code to display CCTray status 2014-07-31 21:44:25 -07:00
commit.go Add support for after_success and after_failure to email notifications 2014-12-30 11:37:57 -05:00
hook.go refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
login.go refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
perm.go fixed bugs with global commit feed not sending events 2014-07-13 15:45:01 -07:00
remote.go add gogs support 2014-11-18 21:50:05 -05:00
repo.go added token to post-commit hooks 2014-10-22 00:13:47 -07:00
request.go added worker handlers 2014-09-29 21:34:30 -07:00
status.go Refactored to use Model and Database folders 2014-06-12 16:41:04 -07:00
user.go added token to post-commit hooks 2014-10-22 00:13:47 -07:00
util.go added token to post-commit hooks 2014-10-22 00:13:47 -07:00
util_test.go added token to post-commit hooks 2014-10-22 00:13:47 -07:00