-
Type:
Bug
-
Resolution: Answered
-
Priority:
Low
-
None
-
Affects Version/s: 5.1.1
-
Component/s: Repository (Subversion)
- Having only one SVN repo configured, works fine.
- Having 2 SVN repos configured in Bamboo that check out into their own sub-directories (under the current working directory) fromt he Source Code Checkout task, works fine.
- However, having 2 SVN repo checkouts and not specifying a sub-directory for the first repo, doesn't checkout from the first SVN repo (although the plan succeeds). Here are the build logs:
simple 01-Oct-2013 11:15:19 Build SVNTest - SVNTest - Default Job #1 (SVNTES-SVNTES-JOB1-1) started building on agent Default Agent simple 01-Oct-2013 11:15:20 Build working directory is /Users/akhachatryan/Atlassian/BambooHome5.1.1/xml-data/build-dir/SVNTES-SVNTES-JOB1 simple 01-Oct-2013 11:15:20 Executing build SVNTest - SVNTest - Default Job #1 (SVNTES-SVNTES-JOB1-1) simple 01-Oct-2013 11:15:20 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 01-Oct-2013 11:15:20 Running preRetrieveSourceCode task... simple 01-Oct-2013 11:15:20 Build always requires a clean checkout simple 01-Oct-2013 11:15:20 Cleaning build directory '/Users/akhachatryan/Atlassian/BambooHome5.1.1/xml-data/build-dir/SVNTES-SVNTES-JOB1' simple 01-Oct-2013 11:15:20 Running preRetrieveSourceCode task... simple 01-Oct-2013 11:15:20 Build always requires a clean checkout simple 01-Oct-2013 11:15:20 Cleaning build directory '/Users/akhachatryan/Atlassian/BambooHome5.1.1/xml-data/build-dir/SVNTES-SVNTES-JOB1/newDir' simple 01-Oct-2013 11:15:20 Updating source code to revision: 6344 simple 01-Oct-2013 11:15:20 Existing workspace found at '/Users/akhachatryan/Atlassian/BambooHome5.1.1/xml-data/build-dir/SVNTES-SVNTES-JOB1'. updating... error 01-Oct-2013 11:15:20 Update of '/Users/akhachatryan/Atlassian/BambooHome5.1.1/xml-data/build-dir/SVNTES-SVNTES-JOB1' has been skipped for an unknown reason simple 01-Oct-2013 11:15:21 Updated source code to revision: 6344 simple 01-Oct-2013 11:15:21 Running postRetrieveSourceCode task... simple 01-Oct-2013 11:15:21 Updating source code to revision: 6344 simple 01-Oct-2013 11:15:21 Working directory '/Users/akhachatryan/Atlassian/BambooHome5.1.1/xml-data/build-dir/SVNTES-SVNTES-JOB1/newDir' is empty. Checking out SVN URL 'file:///Users/akhachatryan/dev/Repositories/SVNCustomer/SVNTest/branches/epicenter-1.3-new-ui' simple 01-Oct-2013 11:15:30 Updated source code to revision: 6344 simple 01-Oct-2013 11:15:30 Running postRetrieveSourceCode task... simple 01-Oct-2013 11:15:30 Finished task 'Checkout Default Repository' simple 01-Oct-2013 11:15:30 Running pre-build action: Clover Grails PreBuild Action simple 01-Oct-2013 11:15:30 Running pre-build action: VCS Version Collector simple 01-Oct-2013 11:15:30 Starting task 'Script' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' ...
The current working directory contains the sub-directory (for the second repo), but no checked out files from the first repo.