How to fix TFS Workspace mapping error in Jenkins

Source: Internet
Author: User

Once you had the update in TFS Workspace for Jenkin TFS plugin, you might get the error like bellow:

[Workspace] $ "C:\Program Files (x86) \microsoft Visual Studio 10.0\common7\ide\tf.exe" Workspaces-format:brief-server: Http://tfs.xxx.com:8080/tfs/Default ********collection:tfs.xxx.com\defaultworkspace Owner Computer Comment----- -----------------------------------------------------------------------MyServer newuser MyServer [workspace] $ "c \ Program Files (x86) \microsoft Visual Studio 10.0\common7\ide\tf.exe "workspace-new" Hudson-my build job-master;nam\ NewUser "-noprompt-server:http://tfs.xxx.com:8080/tfs/default ********the path D:\hudson\jobs\My build Job\workspace is already mapped in workspace hudson-my build job-master; Nam\olduser.fatal:executable returned an unexpected result code [100]error:null

Should follow bellow steps to fix it:
1. Remove the workspace:

From VS:

    1. Open Team Explorer
    2. Click Source Control Explorer
    3. In the Nav Bar of the tool window there are a drop down labeled "Workspaces".
    4. Extend it and click on the "Workspaces ..." option (yeah, a bit un-intuitive)
    5. The "Manage Workspaces" window comes up. Click Edit and you can add/remove/edit your workspace

From the command line

Call "TF Workspace" from a developer command promt. It'll bring Up the "Manage Workspaces" directly!

2. Remove cache on this computer

By manually deleting all the files in the TFS cache, located here:

C:\Users\{UserName}\AppData\Local\Microsoft\Team Foundation\3.0\Cache

If there is a \4.0\cache and \5.0\cache existed, delete them all.

How to fix TFS Workspace mapping error in Jenkins

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.