# status of each build will be pushed to these targets. buildbot/reporters/*.py
# has a variety to choose from, like IRC bots.
+from buildbot.reporters.generators.build import BuildStatusGenerator
+from buildbot.reporters.generators.worker import WorkerMissingGenerator
+from buildbot.reporters.message import MessageFormatter
+from buildbot.reporters.message import MessageFormatterMissingWorker
+
c['services'] = []
mn = reporters.MailNotifier(fromaddr="Humopery Buildbot <buildbot@humopery.space>",
sendToInterestedUsers=False,
smtpPassword=util.Secret("unix.pass"),
useTls=True,
useSmtps=True,
- extraRecipients=["erik@humopery.space","erikmack@gmail.com"])
+ extraRecipients=["erik@humopery.space","erikmack@gmail.com"],
+ generators=[
+ BuildStatusGenerator(
+ add_patch=True,
+ message_formatter=MessageFormatter(template_type='html')
+ ),
+ WorkerMissingGenerator(
+ workers='all',
+ message_formatter=MessageFormatterMissingWorker(template_type='html')
+ ),
+ ]
+ )
c['services'].append(mn)