zoukankan      html  css  js  c++  java
  • How to fix TFS workspace mapping error in Jenkins

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

    [workspace] $ "C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDETF.exe" workspaces -format:brief -server:http://tfs.xxx.com:8080/tfs/Default ********
    Collection: tfs.xxx.comDefault
    Workspace   Owner      Computer    Comment
    ----------- ---------- ----------- --------------------------------------------
    MyServer newUser MyServer 
    [workspace] $ "C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDETF.exe" workspace -new "Hudson-My build job-MASTER;nam
    ewUser" -noprompt -server:http://tfs.xxx.com:8080/tfs/Default ********
    The path D:hudsonjobsMy build jobworkspace is already mapped in workspace Hudson-My build job-MASTER;NAMoldUser.
    FATAL: Executable returned an unexpected result code [100]
    ERROR: null

    You 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 is 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 will 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}AppDataLocalMicrosoftTeam Foundation3.0Cache

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

  • 相关阅读:
    Codeforces Round #375 (Div. 2)
    ACM之路(19)—— 主席树初探
    CodeForces 722D Generating Sets
    CodeForces 721D Maxim and Array
    心情--2014区域赛
    【N-Quens II】cpp
    【N-Queens】cpp
    【Unique Paths II】cpp
    【Unique Paths】cpp
    【Palindrome Partitioning】cpp
  • 原文地址:https://www.cnblogs.com/cicaday/p/4298087.html
Copyright © 2011-2022 走看看