[Buildbot-commits] buildbot/buildbot/process base.py,1.64,1.65

Brian Warner warner at users.sourceforge.net
Tue May 23 16:29:58 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29493/buildbot/process

Modified Files:
	base.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-570
Creator:  Brian Warner <warner at lothar.com>

fix 'buildnumber' property, add 'buildername' property

 	* docs/buildbot.texinfo (Build Properties): add 'buildername'

	* buildbot/process/base.py (Build.setupStatus): oops, set
	'buildername' and 'buildnumber' properties
	* buildbot/test/test_properties.py (Interpolate.testBuildNumber):
	test them


Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/base.py,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- base.py	7 May 2006 18:36:40 -0000	1.64
+++ base.py	23 May 2006 16:29:56 -0000	1.65
@@ -266,6 +266,8 @@
 
     def setupStatus(self, build_status):
         self.build_status = build_status
+        self.setProperty("buildername", self.builder.name)
+        self.setProperty("buildnumber", self.build_status.number)
         self.setProperty("branch", self.source.branch)
         self.setProperty("revision", self.source.revision)
 





More information about the Commits mailing list