[153038] contrib/buildbot-test/master.cfg
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 22 08:35:51 PDT 2016
Revision: 153038
https://trac.macports.org/changeset/153038
Author: ryandesign at macports.org
Date: 2016-09-22 08:35:51 -0700 (Thu, 22 Sep 2016)
Log Message:
-----------
buildbot-test: remove worker name from subject
This way, multiple failed builds of the same port(s) on different workers
get grouped together by subject.
Modified Paths:
--------------
contrib/buildbot-test/master.cfg
Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg 2016-09-22 15:11:43 UTC (rev 153037)
+++ contrib/buildbot-test/master.cfg 2016-09-22 15:35:51 UTC (rev 153038)
@@ -762,13 +762,12 @@
text.append("- {:s}\n {:s}".format(k, build_urls_dict[k]))
text.append("\n-- \nBest regards,\nMacPorts Buildbot\n{:s}".format(c['buildbotURL']))
- subject = "{:s}: ".format(build.getSlavename())
+ subject = "Build {:s}".format(result.title())
if failed_ports:
+ subject += ": "
subject += ", ".join(sorted(failed_ports)[:10])
if len(failed_ports) > 10:
subject += ", and {} more".format(len(failed_ports) - 10)
- subject += ": "
- subject += "Build {:s}".format(result.title())
return {
'body' : "\n".join(text),
'type' : 'plain',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160922/ce4b126f/attachment.html>
More information about the macports-changes
mailing list