[Buildbot-devel] what exactly should "branch=" be in a scheduler?
john gale
john at smadness.com
Sat Jan 12 01:47:51 UTC 2008
For some reason I can't get the scheduler to start a build based on a
certain branch.
2008/01/11 18:36 -0700 [-] SVNPoller polling
2008/01/11 18:36 -0700 [-] svnPoller: _process_changes 18616 .. 18617
2008/01/11 18:36 -0700 [-] Adding change revision 18617
2008/01/11 18:36 -0700 [-] adding change, who jgale, 1 files,
rev=18617, branch=None, comments null
2008/01/11 18:36 -0700 [-] <Scheduler 'auto-build' at 23930840>
ignoring off-branch <buildbot.changes.changes.Change instance at
0x11c0dc8>
2008/01/11 18:36 -0700 [-] <Scheduler 'auto-test' at 23930320>
ignoring off-branch <buildbot.changes.changes.Change instance at
0x11c0dc8>
2008/01/11 18:36 -0700 [-] SVNPoller finished polling
2008/01/11 18:36 -0700 [-] _finished : None
It always gives "ignoring off-branch" instead of triggering a build.
c['change_source'] = SVNPoller(
svnurl="svn+ssh://jgale@<sample.com>/svn/branches/jgale/",
pollinterval=60)
c['schedulers'].append(
Scheduler(
name="auto-build",
branch='buildbot-test-project',
treeStableTimer=15,
builderNames=["syncbot1"]
))
Where the svn branch we want to build is svn+ssh://jgale@<sample.com>/
svn/branches/jgale/buildbot-test-project
So the question is, what exactly should "branch=" be in the
scheduler? The path of the svn repo minus the root? The "name" of the
branch, which is specified somewhere I haven't found yet?
We've also tried this:
c['change_source'] = SVNPoller(
svnurl="svn+ssh://jgale@<sample.com>/svn/",
...
c['schedulers'].append(
Scheduler(
branch='branches/jgale/buildbot-test-project',
...
which also doesn't seem to pick up any changes.
thanks for your help,
~ john
=================
support the arts!
www.smadness.com
updated October 12, 2005
More information about the devel
mailing list