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:
- Open Team Explorer
- Click Source Control Explorer
- In the Nav Bar of the tool window there are a drop down labeled "Workspaces".
- Extend it and click on the "Workspaces ..." option (yeah, a bit un-intuitive)
- 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