[Buildbot-commits] [Buildbot] #2195: two reconfigs required for new schedulers
Buildbot
nobody at buildbot.net
Sat Feb 11 17:13:11 UTC 2012
#2195: two reconfigs required for new schedulers
-------------------+-------------------------
Reporter: dustin | Owner:
Type: defect | Status: closed
Priority: major | Milestone: 0.8.6
Version: master | Resolution: worksforme
Keywords: |
-------------------+-------------------------
Changes (by dustin):
* status: new => closed
* resolution: => worksforme
Comment:
Ah, this was actually a problem in the metabuildbot configs --
schedulers.py was using an "old" copy of the builders variable.
{{{
#! patch
commit 5a5e707dc011b95b83abac70e31b654501a5d274
Author: buildbot.net admins <buildbot-devel at lists.sourceforge.net>
Date: Sat Feb 11 18:12:44 2012 +0100
Don't use stale builders info to build schedulers' builderNames
diff --git a/schedulers.py b/schedulers.py
index 07b3676..452c443 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -6,14 +6,14 @@ from buildbot.schedulers.forcesched import
ForceScheduler, FixedParameter, Strin
from buildbot.schedulers.timed import Periodic
from buildbot.schedulers.trysched import Try_Userpass
from metabbotcfg.slaves import slaves
-from metabbotcfg.builders import builders
+from metabbotcfg import builders
schedulers.append(Scheduler(name="all", branch='master',
treeStableTimer=10,
- builderNames=[ b['name'] for b in
builders ]))
+ builderNames=[ b['name'] for b in
builders.builders ]))
schedulers.append(ForceScheduler(name="force",
repository=FixedParameter(name="repository",
default='git://github.com/buildbot/buildbot.git'),
branch=StringParameter(name="branch", default="master"),
project=FixedParameter(name="project", default=""),
properties=[],
- builderNames=[ b['name'] for b in builders ]))
+ builderNames=[ b['name'] for b in builders.builders ]))
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2195#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list