[Buildbot-devel] buildbot try, which steps.source.oldsource.SVN

Doug Latornell djl at douglatornell.ca
Tue Feb 21 17:03:36 UTC 2012


On Tue, Feb 21, 2012 at 3:06 AM, David Froger <david.froger.ml at gmail.com> wrote:
> Hi,
>
> When using 'buildbot try', is it possible to specify which of the
> "steps.source.oldsource.SVN"
> must be patched?

Conceptually, you might be able to accomplish what you want by passing
a property in the try command. However, properties aren't implemented
(yet) in Try_Jobdir - see ticket 2126 [1]. I'm hoping to remedy that
at the PyCon sprint. In the meantime, I think properties do work in
Try_Userpass, so you might experiment with that.

[1] http://trac.buildbot.net/ticket/2126

>
> I have 2 SVN steps in master.cfg, one to checkout "project/trunk" and
> another to checkout "project/data".
>
> If I 'build try' (ssh method) after making some changes in my local
> project/trunk, the
> topfile beeing in project/trunk/ and using --branch=trunk, both :
>
>    slave/builder/build/trunk
> and
>    slave/builder/build/data
>
> are patched.
>
> slave/builder/build/data is actually removed, checked out with
> 'project/trunk' svn repo
> (instead of 'project/data' repo'), and patched.
>
> Thanks for you help,
> David
>
> ####### factory
>
> My factory is composed 2 steps.source.oldsource.SVN :
>  - a first one to checkout a 'trunk' branch: https://(...)/project/trunk
>  - a second one to checkout a 'data' branch:
> https://(...)/project/data, data being needed for the tests.
>
>  SVN(baseURL='https://(...)/project/%%BRANCH%%',
>         defaultBranch='trunk', # or 'data'
>         username="USER",
>         password="PASSWD",
>         workdir="./build/trunk", # or './build/data'
>          mode='update' )
>
> ####### Try scheduler
>
> Try_Jobdir(name="try1",
>        builderNames=['...', '...'],
>        jobdir="jobdir")
>
> ####### ~/.buildbot/options
>
> try_connect = 'ssh'
> try_branch = 'trunk'
> try_host = '...'
> try_username = '...'
> try_jobdir = '...'
> try_builders = ['...', '...']
> try_vc = 'svn'
> try_topfile = ...
> try_who = ...
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list