From 4990bf701121e6a2a342439b2331e0f9ccd008a4 Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 27 Jan 2011 04:12:37 +0000 Subject: [PATCH] buildbot configuration: add mail notification, explicit builder name git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2153 9efc2488-bf62-4759-914b-345cdb29e865 --- examples/buildbot.cfg | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/examples/buildbot.cfg b/examples/buildbot.cfg index c31cfa4..415baea 100644 --- a/examples/buildbot.cfg +++ b/examples/buildbot.cfg @@ -41,7 +41,7 @@ from buildbot.scheduler import Scheduler c['schedulers'] = [] c['schedulers'].append(Scheduler(name="all", branch=None, treeStableTimer=None, - builderNames=["maker"])) + builderNames=["osrf-trunk-ubuntu-10.04-x86_64"])) ####### BUILDERS @@ -109,7 +109,7 @@ from buildbot.config import BuilderConfig c['builders'] = [] c['builders'].append( - BuilderConfig(name="maker", + BuilderConfig(name="osrf-trunk-ubuntu-10.04-x86_64", slavenames=["opensrf-slave"], factory=factory)) @@ -139,6 +139,15 @@ authz_cfg=authz.Authz( ) c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg)) +# 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"]) +c['status'].append(mn) + ####### PROJECT IDENTITY # the 'projectName' string will be used to describe the project that this @@ -155,7 +164,7 @@ c['projectURL'] = "http://evergreen-ils.org/" # with an externally-visible host name which the buildbot cannot figure out # without some help. -c['buildbotURL'] = "http://localhost:8010/" +c['buildbotURL'] = "http://testing.evergreen-ils.org/buildbot/" ####### DB URL -- 2.43.2