[Buildbot-commits] buildbot/buildbot/process step.py,1.97,1.98
Brian Warner
warner at users.sourceforge.net
Sun Aug 20 22:25:37 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14956/buildbot/process
Modified Files:
step.py
Log Message:
[project @ add BuildStep URLs]
Original author: warner at lothar.com
Date: 2006-08-20 22:24:14
Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- step.py 6 Aug 2006 20:05:31 -0000 1.97
+++ step.py 20 Aug 2006 22:25:35 -0000 1.98
@@ -867,6 +867,16 @@
observer.setLog(current_logs[logname])
self._pendingLogObservers.remove((logname, observer))
+ def addURL(self, name, url):
+ """Add a BuildStep URL to this step.
+
+ An HREF to this URL will be added to any HTML representations of this
+ step. This allows a step to provide links to external web pages,
+ perhaps to provide detailed HTML code coverage results or other forms
+ of build status.
+ """
+ self.step_status.addURL(name, url)
+
def runCommand(self, c):
d = c.run(self, self.remote)
return d
More information about the Commits
mailing list