Unable to checkout from two repositories (plan root and its subdir)
I have a project where I need to be able to checkout two different repositories during the plan build.
The first project is checked out into the default path ("work directory" is empty). The second is checked out into the Libraries path in the plan working directory ("Work directory" set to Libraries").
See attached stacktrace.
Comments (8)
-
-
Account Deactivated reporter Yes, that's possible. But actually seems there is a bug.
When I am checking out to Working directory being empty, it works fine. When I enter anything into the Checkout task into the working directory text field, then i am getting anyway the same error.
(java.lang.RuntimeException : com.atlassian.bamboo.repository.RepositoryException: com.microsoft.tfs.core.exceptions.TECoreException: The working folder C:\bamboo-agent-home\xml-data\build-dir\NET-BPM-JOB1 is already in use by the workspace Bamboo_NET-BPM-JOB1_984fc6db_SIRVBAM01;on computer SIRVBAM01.)
Can you reproduce that on your machine? (i.e. edit your checkout task and type anything into the working directory).
-
I'll try that.
-
Yes, the bug is confirmed. I've fixed it and performing testing now.
-
- changed title to Unable to checkout from two repositories (plan root and its subdir)
-
- changed status to resolved
Fixed in 1.1.7 and 1.0.16.
I've created a new issue
#36for the bug about changing checkout directories.Note: now it works in your original config (checkout to \ and \libraries) but without incremental update.
-
I am having issues checking out multiple repos. Getting error with defining the Checkout Directory. Can an example screen shot be posted how to actually do this. I am on version 1.1.8 of the plugin.
-
@psulion96 Hi Jeffrey. Please create a new issue and there you'll be able to attach screenshots, logs, etc.
- Log in to comment
Hi Radek,
This is a TFS limitation: working directory cannot contain another working directories. Also it is not good in general: for example if you clean one working directory you'll unintentionally clean another too.
Can you not use empty working directory when there are multiple repositories? In such case repositories will be isolated from each other and there will be no errors.