1
0
mirror of https://github.com/golang/go synced 2024-11-25 04:57:56 -07:00

misc/dashboard: tweak build fail notification email

R=rsc
CC=golang-dev
https://golang.org/cl/4170063
This commit is contained in:
Andrew Gerrand 2011-02-19 07:37:24 +11:00
parent 90847a8577
commit 79ba1ce076
2 changed files with 3 additions and 1 deletions

View File

@ -8,5 +8,6 @@ mail_submit_to = "adg@golang.org"
mail_submit_subject = "New Project Submitted"
mail_fail_to = "golang-dev@googlegroups.com"
mail_fail_reply_to = "golang-dev@googlegroups.com"
mail_fail_subject = "%s broken by %s"

View File

@ -351,13 +351,14 @@ class Build(webapp.RequestHandler):
path = os.path.join(os.path.dirname(__file__), 'fail-notify.txt')
body = template.render(path, {
"builder": builder,
"node": node,
"node": node[:12],
"user": user,
"desc": desc,
"loghash": loghash
})
mail.send_mail(
sender=const.mail_from,
reply_to=const.mail_fail_reply_to,
to=const.mail_fail_to,
subject=subject,
body=body