[Buildbot-commits] buildbot/buildbot/status/web build.py, 1.17, 1.18

Brian Warner warner at users.sourceforge.net
Thu May 22 22:13:28 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17747/buildbot/status/web

Modified Files:
	build.py 
Log Message:
[project @ #124:display-properties-web-status.patch]
Display build properties in the build status page.

Original author: dustin at v.igoro.us
Date: 2008-04-13 20:26:53+00:00

Index: build.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/build.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- build.py	22 May 2008 22:11:25 -0000	1.17
+++ build.py	22 May 2008 22:13:26 -0000	1.18
@@ -121,6 +121,12 @@
                 data += " </li>\n"
             data += "</ol>\n"
 
+        data += "<h2>Build Properties:</h2>\n"
+        data += "<table><tr><th valign=\"left\">Name</th><th valign=\"left\">Value</th><th valign=\"left\">Source</th></tr>\n"
+        for name, value, source in b.getProperties().asList():
+            data += "<tr><td>%s</td><td>%s</td><td>%s</td></tr>\n" % (name, value, source)
+        data += "</table>"
+            
         data += "<h2>Blamelist:</h2>\n"
         if list(b.getResponsibleUsers()):
             data += " <ol>\n"





More information about the Commits mailing list