[Buildbot-commits] [SPAM] Re: [Buildbot] #941: Loose branch in builder with AnyBranchScheduler
Buildbot
buildbot-devel at lists.sourceforge.net
Fri Jul 30 15:55:06 UTC 2010
#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
More information about the Commits
mailing list