I have two important sub-directories that I want on my build slave -- buildscripts and archive. When I used the source.SVN build step to attempt to deploy these two folders, the second folder got the incorrect branch:
f.addStep(
source.SVN,
baseURL="svn+ssh://buildbot@ss.mycompany.com/svn/branches/jgale/",
defaultBranch="buildbot-build-archive",
directory="./build/archive",
haltOnFailure = 1
)
f.addStep(
source.SVN,
baseURL="svn+ssh://buildbot@ss.mycompany.com/svn/branches/jgale/",
defaultBranch="buildbot-buildscripts",
directory="./build/buildscripts",
haltOnFailure = 1
)
-- RESULTS IN -->
/usr/bin/svn checkout --revision 18837 --non-interactive svn+ssh://buildbot@ss.mycompany.com/svn/branches/jgale/buildbot-build-archive archive
/usr/bin/svn checkout --revision 18837 --non-interactive svn+ssh://buildbot@ss.mycompany.com/svn/branches/jgale/buildbot-build-archive buildscripts
-- NOTE -->
In the second checkout, I am getting the "archive" bits of my source repository, rather than the "buildscripts" bits of my source directory