[82988] contrib/buildbot/master.cfg

jmr at macports.org jmr at macports.org
Tue Aug 23 00:21:29 PDT 2011


Revision: 82988
          http://trac.macports.org/changeset/82988
Author:   jmr at macports.org
Date:     2011-08-23 00:21:28 -0700 (Tue, 23 Aug 2011)
Log Message:
-----------
buildmaster: add MailNotifier for base failures

Modified Paths:
--------------
    contrib/buildbot/master.cfg

Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg	2011-08-23 06:56:22 UTC (rev 82987)
+++ contrib/buildbot/master.cfg	2011-08-23 07:21:28 UTC (rev 82988)
@@ -281,6 +281,13 @@
         cancelPendingBuild = True
     )
 
+if production:
+    # send mail about base failures to users on the blamelist
+    from buildbot.status.mail import MailNotifier
+    mn = MailNotifier(fromaddr="noreply at macports.org", lookup="", relayhost="lists.macosforge.org"
+        builders=base_buildernames, mode="problem")
+    c['status'].append(mn)
+
 ####### PROJECT IDENTITY
 
 # the 'title' string will appear at the top of this buildbot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110823/10f0074f/attachment.html>


More information about the macports-changes mailing list