Link the tinderbox output to the database frontend.
authorBenjamin Smedberg <benjamin@smedbergs.us>
Fri, 19 Dec 2008 17:03:02 -0500
changeset 9 1e34d76ac686
parent 8 c33d0e330649
child 10 80fc943e21cf
push id4
push userbsmedberg@mozilla.com
push dateFri, 19 Dec 2008 22:03:11 +0000
Link the tinderbox output to the database frontend.
warningstep.py
--- a/warningstep.py
+++ b/warningstep.py
@@ -119,17 +119,17 @@ class WarningParserStep(ShellCommand):
 
         db.commit()
 
         # A list of line to stick in the comparison log
         comparison = []
 
         cur.execute('SELECT sum(count) FROM warnings WHERE buildnumber = ?', (buildnumber,))
         wcount, = cur.fetchone()
-        comparison.append('TinderboxPrint:warn:%s' % wcount)
+        comparison.append('<a href="http://office.smedbergs.us:8080/build?id=%i">TinderboxPrint:warn:%i</a>' % (buildnumber, wcount))
 
         cur.execute('SELECT max(buildnumber) FROM builds WHERE buildnumber < ?', (buildnumber,))
         r = cur.fetchone()
         if r is None:
             comparison.append('no prior build found: skipping comparison')
         else:
             prevbuildnumber, = r