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:
parent
90847a8577
commit
79ba1ce076
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user