Improving e-mail message; adding X-* header
This commit is contained in:
parent
bba18fb712
commit
d1d94514e6
1 changed files with 3 additions and 2 deletions
|
@ -136,7 +136,7 @@ send to the gdb-testers mailing list."""
|
||||||
# URL to find more info about what went wrong.
|
# URL to find more info about what went wrong.
|
||||||
text += "Log URL(s):\n"
|
text += "Log URL(s):\n"
|
||||||
for ss in ss_list:
|
for ss in ss_list:
|
||||||
text += "\t<http://sdj-gdbbuild.usersys.redhat.com/%s/%s>\n" % (name, ss.revision)
|
text += "\t<%s/results/%s/%s>\n" % (master_status.getBuildbotURL (), name, ss.revision)
|
||||||
|
|
||||||
# Who's to blame?
|
# Who's to blame?
|
||||||
text += "Author(s):\n"
|
text += "Author(s):\n"
|
||||||
|
@ -180,7 +180,8 @@ mn = mail.MailNotifier(fromaddr = "sergiodj@redhat.com",
|
||||||
relayhost = "smtp.corp.redhat.com",
|
relayhost = "smtp.corp.redhat.com",
|
||||||
mode = ('failing'),
|
mode = ('failing'),
|
||||||
smtpPort = 25,
|
smtpPort = 25,
|
||||||
messageFormatter = MessageGDBTesters)
|
messageFormatter = MessageGDBTesters,
|
||||||
|
extraHeaders = { 'X-GDB-Buildbot' : '1' })
|
||||||
|
|
||||||
c['status'].append (mn)
|
c['status'].append (mn)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue