[Buildbot-devel] build properties not available from AnyBranchScheduler

Mark A. Grondona mgrondona at llnl.gov
Wed Dec 17 01:04:45 UTC 2008


I was trying to use build properties as set from an AnyBranchScheduler
without any luck. I could be wrong here, but shouldn't the scheduler
properties be copied to the "branch" scheduler instance in
AnyBranchScheduler->addChange()?

The following patch seems to fix my specific problem:

--- buildbot-0.7.9.orig/buildbot/scheduler.py   2008-12-09 09:35:47.000000000 -0800
+++ buildbot-0.7.9/buildbot/scheduler.py        2008-12-16 17:01:29.000000000 -0800
@@ -291,6 +291,7 @@
                                       self.builderNames,
                                       self.fileIsImportant)
             s.successWatchers = self.successWatchers
+            s.properties = self.properties
             s.setServiceParent(self)
             # TODO: does this result in schedulers that stack up forever?
             # When I make the persistify-pass, think about this some more.






More information about the devel mailing list