Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1006:254a9ac2eab6
Date: 2016-05-31 10:08 +0200
http://bitbucket.org/pypy/buildbot/changeset/254a9ac2eab6/

Log:    Link from a test details page back to the build

diff --git a/bot2/pypybuildbot/summary.py b/bot2/pypybuildbot/summary.py
--- a/bot2/pypybuildbot/summary.py
+++ b/bot2/pypybuildbot/summary.py
@@ -600,9 +600,13 @@
 
         longrepr = outcome_set.get_longrepr(namekey)
 
+        builderLink = html.a('%s build #%s' % (builderName, build),
+                             href="/builders/%s/builds/%s" % (
+                                 builderName, build))
+
         return html.div([html.h2(self.getTitle(request)),
                          html.pre(longrepr),
-                         html.pre('builder: ' + builderName,
+                         html.pre('builder: ' + builderLink,
                                   style='border-top:1px solid;'),
                          html.pre('test: ' + 
self.getTitle(request).replace('.','/')),
                          py.xml.raw("<!-- %s -->" % outcome_set_cache.stats())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to