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

David Froger david.froger.ml at gmail.com
Tue Feb 21 10:06:54 UTC 2012


Hi,

When using 'buildbot try', is it possible to specify which of the
"steps.source.oldsource.SVN"
must be patched?

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 = ...




More information about the devel mailing list