[Buildbot-commits] [Buildbot] #1916: Buildbot doesn't initiate build process when several GitPoller ChangeSources specified.
Buildbot
nobody at buildbot.net
Wed Apr 6 10:36:43 UTC 2011
#1916: Buildbot doesn't initiate build process when several GitPoller
ChangeSources specified.
-----------------------+----------------------------
Reporter: jollyroger | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.3p1 | Keywords: gitpoller, git
-----------------------+----------------------------
Given clean buildbot v0.8.3p1 ( http://buildbot.homeofus.org.ua) master
with the following ChangeSources provided:
{{{
buildbot_git_repo = 'git://github.com/buildbot/buildbot.git'
debian_buildbot_git_repo = 'git://github.com/jollyroger/debian-
buildbot.git'
debian_buildbot_slave_git_repo = 'git://github.com/jollyroger/debian-
buildbot-slave.git'
from buildbot.changes.gitpoller import GitPoller
c['change_source'] = []
c['change_source'].append(GitPoller(buildbot_git_repo,
branch='master',
workdir='/tmp/buildbot_git',
pollinterval=1200))
c['change_source'].append(GitPoller(debian_buildbot_git_repo,
branch='master',
workdir='/tmp/debian-buildbot_git',
pollinterval=1200))
c['change_source'].append(GitPoller(debian_buildbot_slave_git_repo,
branch='master',
workdir='/tmp/debian-buildbot-slave_git',
pollinterval=1200))
from buildbot.scheduler import Scheduler
from buildbot.schedulers import basic
masterTarballScheduler = Scheduler(name="tarball-master", branch=None,
treeStableTimer=None,
builderNames=["tarball-master"])
masterDebScheduler = basic.Dependent(name="deb-master",
upstream=masterTarballScheduler,
builderNames=["deb-master"])
slaveTarballScheduler = Scheduler(name="tarball-slave", branch=None,
treeStableTimer=None,
builderNames=["tarball-slave"])
slaveDebScheduler = basic.Dependent(name="deb-slave",
upstream=slaveTarballScheduler,
builderNames=["deb-slave"])
c['schedulers'] = [
masterTarballScheduler,
masterDebScheduler,
slaveTarballScheduler,
slaveDebScheduler]
}}}
With such configuration no automatic build was initiated when changes
arrived to any repository. However all changes appeared on the waterfall
page.
--
Ticket URL: <http://trac.buildbot.net/ticket/1916>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list