changeset 285:29bbe1b9f51f

better interpolation of host
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 02 Aug 2012 10:01:32 -0700
parents 3ee135e1d73b
children 555c1c54be75
files autobot/template/master/master.cfg
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/template/master/master.cfg	Wed Aug 01 15:34:52 2012 -0700
+++ b/autobot/template/master/master.cfg	Thu Aug 02 10:01:32 2012 -0700
@@ -148,7 +148,7 @@
 # email notification; see
 # http://buildbot.net/buildbot/docs/latest/reference/buildbot.status.mail.MailNotifier-class.html
 # http://buildbot.net/buildbot/docs/0.7.1/#Defining-Status-Targets
-fromaddr = config.master.get('email', 'autobot@localhost')
+fromaddr = config.master.get('email', 'autobot@{{domain}}')
 recipients = config.master.get('recipients', None)
 if recipients:
     recipients = recipients.split()
@@ -169,4 +169,4 @@
 ####### PROJECT IDENTITY
 c['projectName'] = "autobot"
 c['projectURL'] = "http://buildbot.sourceforge.net/"
-c['buildbotURL'] = "http://localhost:%d/" % config.master['htmlport']
+c['buildbotURL'] = "http://{{domain}}:%d/" % config.master['htmlport']