[Buildbot-devel] How to dynamically monitor trunk plus multiple branches in svn

David Young david.young at db.com
Fri Nov 1 12:14:19 UTC 2013


Classification: Public

Hey Dustin. You're right about this and I've been down this road. It's 
close but when I use the split_file function I have trouble right here:

fact.addStep(source.SVN(svnurl=svnroot, mode='clobber'))

I don't know what to specify for the 'svnurl' argument and Buildbot seems 
to require it. I want the BuildFactory and its steps to fire on every 
change; nothing special. This is what doesn't work when I use split_file 
functions; changes are created but not picked up and builds are not run. 
Thanks for your help.

fact = BuildFactory()

fact.addStep(source.SVN(svnurl=svnroot, mode='clobber'))
fact.addStep(shell.ShellCommand(command=['./build.sh']))

bc = BuilderConfig(name='hostingplatform', 
slavenames=['hostingportal_slave'], factory=fact)
c['builders'].append(bc)

-- david

djmitche at gmail.com wrote on 10/31/2013 08:08:43 PM:

> From:
> 
> "Dustin J. Mitchell" <dustin at v.igoro.us>
> 
> To:
> 
> David Young/db/dbcom at DBAMERICAS, 
> 
> Cc:
> 
> Buildbot Devel <buildbot-devel at lists.sourceforge.net>
> 
> Date:
> 
> 10/31/2013 08:08 PM
> 
> Subject:
> 
> Re: [Buildbot-devel] How to dynamically monitor trunk plus multiple 
> branches in svn
> 
> The SVN split functions are your ticket here - have the poller watch
> the root, and then use the split functions to translate a path into
> repository, branch, project, etc.
> 
> Dustin


---
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20131101/1939e071/attachment.html>


More information about the devel mailing list