Commit graph

48 commits

Author SHA1 Message Date
Kpacha
381c6d0782 send build status updates to gitlab as comments on the related commit 2015-08-16 18:49:54 +02:00
Ludovic Fauvet
52c8622f59 slack: implement on_change 2015-06-19 16:58:49 +02:00
David M. Carr
a5928aa57e Add server parameter to hipchat configuration (#950)
This allows compatibility with HipChat Server, the self-hosted version of the HipChat service.
2015-05-14 11:00:17 -04:00
Alexey Chernenkov
8bcb5d9c52 Use HipChat notification API ver 2
HipChat API v1 is deprecated, but github.com/andybons/hipchat (used by Drone) does not support v2.
So I've implemented v2 using native http.PostForm.
2015-04-14 11:49:35 +05:00
Andy Gardner
e59d205bda Adding drone icon to slack notifications 2015-03-05 09:57:49 +00:00
Andy Gardner
dd805c2246 Fixing bug which prevented Webhook notifications on build failure 2015-02-25 12:51:03 +02:00
Brad Rydzewski
cfe50421dc remove typo in github status message 2015-02-20 17:44:43 -08:00
Brad Rydzewski
271974e98f fixed go.rice issue 2015-02-05 18:48:16 -08:00
Brad Rydzewski
6add452168 vendored flowdock dependency 2015-01-25 22:35:14 -08:00
Brad Rydzewski
ff127f0349 webhook payload should include the host URL 2015-01-13 21:57:30 -08:00
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
e70c8d5c75 Merge pull request #755 from Bugagazavr/katoim
Added KatoIM support
2014-12-13 13:22:22 -08:00
Amanda Cameron
74f574f864 Fix IRC notification to use .Quit() instead of .Disconnect() 2014-12-13 10:23:44 -05:00
Amanda Cameron
1236d44bfc Fix the IRC notification plugin. 2014-12-13 09:48:56 -05:00
Kirill Zaitsev
3d244fcdae Added KatoIM support 2014-12-13 13:01:21 +03:00
Mark Steve Samson
7c27628976 Update Slack plugin config (Closes #612) 2014-11-17 21:22:04 +08:00
ap4y
65f938888e Add plain text fallback messages for slack plugin 2014-11-11 17:18:18 +13:00
Christopher Brickley
22698625ed swap url and linktext positions for slack 2014-11-04 14:39:33 -05:00
Ciaran Downey
0a0151fa5e Adjust Slack message format to match HipChat's
Also add some tests for formatting. See #586.
2014-10-22 22:26:14 -07:00
Brad Rydzewski
d0afc3df94 returning error from notification sendJson for debugging 2014-10-14 22:43:29 -07:00
Brad Rydzewski
9ed96af13b modified Gitter api to use constants when comparing status 2014-10-14 21:53:27 -07:00
Brad Rydzewski
4f3f2875f6 merged flowdock notifications & github publishing into exp 2014-10-11 16:14:49 -07:00
Brad Rydzewski
76f76c0bf6 fixed slack test 2014-10-11 15:41:20 -07:00
Brad Rydzewski
ea05ec725a merged plugin changes from master to exp 2014-10-11 15:35:25 -07:00
Matt Martz
086554a8b0 add slack colors to messages
cherry-picked over 224ff3ca08 from master
2014-10-08 11:57:17 -04:00
Kirill Zaitsev
a6f38b3966 Added gitter support 2014-10-02 18:26:47 +04:00
ap4y
8e6d6012aa Use DI for hipchat client, add tests for hipchat notifications via mocked client 2014-09-15 19:52:15 -07:00
ap4y
7e021f9eb7 Notify silently on start and success, trigger hipchat notifications only
on fail
2014-09-15 04:20:43 -07:00
ap4y
9e761c319c Make hipchat notification messages more verbose 2014-09-15 04:20:02 -07: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
3493b868ef upgrade go1.3 and irc library 2014-09-09 21:41:11 -07:00
Brad Rydzewski
5eb0aab517 fixed IRC plugin 2014-09-09 21:32:10 -07:00
Brad Rydzewski
5c26f79940 fixed error with baseURL in github status api plugin 2014-09-09 20:11:50 -07:00
Brad Rydzewski
7b62f3ff85 Update github.go 2014-09-09 12:08:48 -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
2593aeca27 fixed panic in notification plugin code 2014-08-14 12:36:45 -07:00
Brad Rydzewski
d3f4754397 Update notification.go 2014-08-14 11:41:56 -07:00
Brad Rydzewski
06fef06d9e Update notification.go 2014-08-14 10:26:27 -07:00
Brad Rydzewski
d78ce6dc59 Update notification.go
fixed nil pointer / panic
2014-08-14 10:22:54 -07:00
Brad Rydzewski
15397747cd improved email subject 2014-08-03 21:36:54 -07:00
Brad Rydzewski
302a898848 fixed missing dep in Makefile 2014-08-03 21:33:47 -07:00
Brad Rydzewski
4a5dce76cd github status API now functioning properly 2014-08-03 21:28:51 -07:00
Brad Rydzewski
2450cda3c5 initial work to re-implement the GitHub status API (issue #403) 2014-08-03 16:10:04 -07:00
Brad Rydzewski
994b6f0994 added email notifications 2014-08-03 14:45:50 -07:00
Brad Rydzewski
91f7a63d21 updated notification plugins to use model.Request 2014-07-12 19:01:34 -07:00
Brad Rydzewski
36b01512c0 Refactored to use Model and Database folders 2014-06-12 16:41:04 -07:00
Brad Rydzewski
170135cb1d Move Plugins to a /plugin Directory 2014-06-12 14:46:55 -07:00