Buildbot sends emails, closes #329

This commit is contained in:
Jorrit Wronski
2015-01-02 15:04:00 +01:00
parent cee44c0d70
commit c646445014

View File

@@ -1212,19 +1212,18 @@ c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))
from buildbot.status import mail
from buildbot_private import email_auth
#mn = mail.MailNotifier(fromaddr="buildbot@coolprop.org",
# mode = ('problem',)
# )
mn = mail.MailNotifier(fromaddr="buildbot@coolprop.dreamhosters.com",
sendToInterestedUsers=False,
mode=('all',),
extraRecipients=["coolprop@jorrit.org"], #,"ian.h.bell@gmail.com"],
useTls=True, relayhost="coolprop.dreamhosters.com",
mode=('problem',),
extraRecipients=["coolprop@jorrit.org"], "ian.h.bell@gmail.com"],
#useTls=True,
relayhost="homie.mail.dreamhost.com",
smtpPort=587, smtpUser=email_auth['user'],
smtpPassword=email_auth['pass'])
c['status'].append(mn)
####### PROJECT IDENTITY
# the 'title' string will appear at the top of this buildbot