# Send mail when a build is broken
from buildbot.status.mail import MailNotifier
-mn = MailNotifier(
- fromaddr="buildbot@testing.esilibrary.com",
- sendToInterestedUsers=False,
- mode='problem',
- extraRecipients=["dan@coffeecode.net","open-ils-dev@list.georgialibraries.org"])
+MN = MailNotifier(
+ fromaddr="buildbot@testing.evergreen-ils.org",
+ sendToInterestedUsers=True,
+ mode='problem'
+# , extraRecipients=["dan@coffeecode.net","open-ils-dev@list.georgialibraries.org"]
+)
# Uncomment to actually send mail
-# c['status'].append(mn)
+c['status'].append(MN)
+
+### IRCBOT
+from buildbot.status import words
+IRC = words.IRC("chat.freenode.net", "egbuilder",
+ channels=["#evergreen"],
+ password="XXX",
+ allowForce=False,
+ notify_events={
+ 'exception': 1,
+ 'successToFailure': 1,
+ 'failureToSuccess': 1,
+ })
+c['status'].append(IRC)
####### PROJECT IDENTITY