#941: Loose branch in builder with AnyBranchScheduler
---------------------+------------------------------------------------------
Reporter: bsavelev | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.1 | Keywords:
---------------------+------------------------------------------------------
Comment(by bsavelev):
buildbot have several builders with Git step:
{{{
factory.addStep(buildbot.steps.source.Git(
timeout = 3600,
repourl = builder.branch or 'git://url/repo.git',
branch = builder.release.fullname(),
haltOnFailure = True
))
}}}
when I click button 'Force build' all is ok.
each builder have scheduler with fake ImportantFiles that equal name of
builder
for 0.8.1 it look like that:
{{{
c['schedulers'].append(buildbot.schedulers.basic.AnyBranchScheduler(
name = 'cron_' + builder.fullname(),
builderNames = (builder.fullname(),),
treeStableTimer = 60,
branches = None,
properties = {'forgetsource': 'yes'},
fileIsImportant = lambda c, builder = "cron_%s" % builder.fullname():
builder in c.files
))
}}}
--
Ticket URL: <http://buildbot.net/trac/ticket/941#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits