[Buildbot-devel] avoiding racy svn checkouts against HEAD
Dave Vitek
dvitek at grammatech.com
Wed Apr 16 16:22:06 UTC 2014
Hi all,
I recently noticed our buildbot setup has a race condition where it can
check out different revisions of various directories if a user presses
the "force build" button on the web interface, without specifying a
revision.
The relevant portion of our configuration looks like so:
for directory in directories:
f.addStep(source.SVN( mode='update',
baseURL='svn+ssh://svn/svn/%%BRANCH%%/' + directory,
workdir='build/' + directory,
defaultBranch=branch_path(slave['branch']),
haltOnFailure=True))
It can check out different revisions of different modules in
"directories." Anyone have any ideas about how to avoid this problem?
Right now, my best idea is to use a source.SVN step on one module, and
then roll my own checkout command lines for everything else (using
ShellCommand). Better ideas?
- Dave
More information about the devel
mailing list