[ews-build] Send email notifications for failures
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jun 2019 20:28:22 +0000 (20:28 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jun 2019 20:28:22 +0000 (20:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=198919

Reviewed by Jonathan Bedard.

* BuildSlaveSupport/ews-build/master.cfg:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246607 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/ews-build/master.cfg
Tools/ChangeLog

index db7f943..5cf7d0d 100644 (file)
@@ -2,7 +2,7 @@ import os
 import socket
 import sys
 
-from buildbot.plugins import util
+from buildbot.plugins import reporters, util
 
 import loadConfig
 from events import Events
@@ -64,7 +64,14 @@ c['buildbotNetUsageData'] = None
 
 loadConfig.loadBuilderConfig(c, is_test_mode_enabled=is_test_mode_enabled)
 
+mail_notifier = reporters.MailNotifier(
+    fromaddr='ews-build@webkit.org',
+    sendToInterestedUsers=False,
+    extraRecipients=['aakash_jain@webkit.org'],
+    mode=('failing', 'exception'),
+    addPatch=False)
+
 if not is_test_mode_enabled:
     hostname =  socket.gethostname().strip()
     event_reporter = Events(master_hostname=hostname, type_prefix='ews')
-    c['services'] = [event_reporter]
+    c['services'] = [event_reporter, mail_notifier]
index db4c9d4..6362a6d 100644 (file)
@@ -1,3 +1,12 @@
+2019-06-19  Aakash Jain  <aakash_jain@apple.com>
+
+        [ews-build] Send email notifications for failures
+        https://bugs.webkit.org/show_bug.cgi?id=198919
+
+        Reviewed by Jonathan Bedard.
+
+        * BuildSlaveSupport/ews-build/master.cfg:
+
 2019-06-19  Alex Christensen  <achristensen@webkit.org>
 
         Add a unit test for client certificate authentication