From d1d94514e63b05d3a9137b7eb3a619ab6fa6bb5c Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Thu, 25 Dec 2014 13:48:23 -0500 Subject: [PATCH] Improving e-mail message; adding X-* header --- master.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/master.cfg b/master.cfg index 715bbeb..4f65fb8 100644 --- a/master.cfg +++ b/master.cfg @@ -136,7 +136,7 @@ send to the gdb-testers mailing list.""" # URL to find more info about what went wrong. text += "Log URL(s):\n" for ss in ss_list: - text += "\t\n" % (name, ss.revision) + text += "\t<%s/results/%s/%s>\n" % (master_status.getBuildbotURL (), name, ss.revision) # Who's to blame? text += "Author(s):\n" @@ -180,7 +180,8 @@ mn = mail.MailNotifier(fromaddr = "sergiodj@redhat.com", relayhost = "smtp.corp.redhat.com", mode = ('failing'), smtpPort = 25, - messageFormatter = MessageGDBTesters) + messageFormatter = MessageGDBTesters, + extraHeaders = { 'X-GDB-Buildbot' : '1' }) c['status'].append (mn)