From 9a9dcad8d629af89e44f530c56bbdf58f66585be Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Wed, 14 Jan 2015 19:45:36 -0500 Subject: [PATCH] Improving email notification --- master.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/master.cfg b/master.cfg index 137d12b..ff1784f 100644 --- a/master.cfg +++ b/master.cfg @@ -123,6 +123,8 @@ c['status'].append (html.WebStatus (http_port = 8010, authz = authz_cfg)) def MessageGDBTesters (mode, name, build, results, master_status): """This function is responsible for composing the message that will be send to the gdb-testers mailing list.""" + git_url = "http://gdb-build.sergiodj.net/cgit" + # Subject subj = "Failures on %s" % name @@ -130,7 +132,7 @@ send to the gdb-testers mailing list.""" text = "" # Buildslave name, useful for knowing the exact configuration. - text += "Builder:\n" + text += "Buildslave:\n" text += "\t%s\n" % build.getSlavename () # Commits that were tested. Usually we should be dealing with @@ -144,7 +146,8 @@ 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<%sresults/%s/%s>\n" % (master_status.getBuildbotURL (), name, ss.revision) + text += "\t<%s/%s/.git/log/qt=grep&q=%s>" % (git_url, name, ss.revision) +# text += "\t<%sresults/%s/%s>\n" % (master_status.getBuildbotURL (), name, ss.revision) # Who's to blame? text += "Author(s) (in the same order as the commits):\n"