TFS Workspace deletion after code checkout

Issue #46 resolved
Chris Butwell created an issue

Would like the plugin to delete the user workspace created in TFS after each time the code is pulled so that the ID in the linked repository can change if needed. The current implementation keeps the workspace locked and when users update the account name, the checkout fails.

error 14-May-2015 15:27:50 Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 14-May-2015 15:27:50 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: TF204017: The operation cannot be completed because the user (ENT\user2) does not have one or more required permissions (Administer) for workspace Bamboo_EMS-TFS-JOB1_276950cb_ut07737;ENT\user1.

Comments (5)

  1. Sergey Podobry
    • changed status to open

    Yes, it can be done. But note that if a workspace is deleted incremental update is not possible and full checkout will be performed.

  2. Log in to comment