[Buildbot-devel] mixing baseURL and svnurl in a factory?

Christian Unger christian_unger at mac.com
Thu Apr 30 12:21:27 UTC 2009



my builder throws an exception when set up like so:

f=factory.BuildFactory([
	source.SVN(svnurl=externalDependencyURL', workdir='./build/ 
Dependency1')
	source.SVN(baseURL=internalURL, defaultBranch='trunk', workdir='./ 
build/projectUsingDependency1')
])

on my ForceBuild page I specify a branch and honestly I would not  
expect the first svn-step to freak out on the optional branch parameter:
>   File "/Library/Python/2.5/site-packages/buildbot-0.7.10p1- 
> py2.5.egg/buildbot/process/buildstep.py", line 710, in _startStep_2
>     skip = self.start()
>   File "/Library/Python/2.5/site-packages/buildbot-0.7.10p1- 
> py2.5.egg/buildbot/steps/source.py", line 184, in start
>     self.startVC(branch, revision, patch)
>   File "/Library/Python/2.5/site-packages/buildbot-0.7.10p1- 
> py2.5.egg/buildbot/steps/source.py", line 462, in startVC
>     assert not branch # we need baseURL= to use branches
> exceptions.AssertionError:

I would rather expect the first step to ignore the specified branch.

How are you guys setting this up for multiple branches using the same  
dependency from a different repository url?

__
cu
christian unger












More information about the devel mailing list