Unable to checkout from two repositories (plan root and its subdir)

Issue #35 resolved
Radosław Antoniuk created an issue

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)

  1. Sergey Podobry

    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.

  2. Radosław Antoniuk 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).

  3. Sergey Podobry

    Fixed in 1.1.7 and 1.0.16.

    I've created a new issue #36 for the bug about changing checkout directories.

    Note: now it works in your original config (checkout to \ and \libraries) but without incremental update.

  4. Jeffrey Magda

    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.

  5. Sergey Podobry

    @psulion96 Hi Jeffrey. Please create a new issue and there you'll be able to attach screenshots, logs, etc.

  6. Log in to comment