Mercurial > hg > autobot
changeset 280:635ace3bcbc5
scheduler name force used multiple times
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 31 Jul 2012 16:47:41 -0700 |
parents | b2fd70c76dde |
children | 6ac4cfa28465 |
files | autobot/template/master/master.cfg |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/template/master/master.cfg Tue Jul 31 16:26:42 2012 -0700 +++ b/autobot/template/master/master.cfg Tue Jul 31 16:47:41 2012 -0700 @@ -93,11 +93,15 @@ for (source, branch), buildernames in builder_sources.items(): change_filter = ChangeFilter(repository=source, branch=branch) - c['schedulers'].append(Scheduler(name="%s#%s" % (source, branch), + name = "%s#%s" % (source, branch) + c['schedulers'].append(Scheduler(name= treeStableTimer=treeStableTimer, change_filter=change_filter, builderNames=buildernames)) - sch = ForceScheduler(name="force", + + # add a force scheduler + # see http://buildbot.net/buildbot/docs/0.8.6/manual/cfg-schedulers.html#forcescheduler-scheduler + sch = ForceScheduler(name="force-%s" % name, builderNames=buildernames, branch=branch,