Force removal of TFS 2017 build agent

前端 未结 1 1221
盖世英雄少女心
盖世英雄少女心 2021-02-08 14:23

Installed the tfs 2017 (update 1) build agent on a machine and ran config.cmd to connect it to a TFS server. That server had to be reconfigured and the original url that the bui

1条回答
  •  长发绾君心
    2021-02-08 15:08

    Delete/rename the .agent file and then try to unconfigure:

    C:\TfsData\jessehouwing>config.cmd remove
    Removing service
    Waiting for service to stop...
    Failed: Removing service
    Could not find file 'C:\TfsData\jessehouwing\.agent'.
    
    C:\TfsData\jessehouwing>config.cmd remove
    Removing service
    Succeeded: Removing service
    Removing agent from the server
    Cannot connect to server, because config files are missing. Skipping removing agent from the server.
    Removing .credentials
    Succeeded: Removing .credentials
    Removing .agent
    Does not exist. Skipping Removing .agent
    

    0 讨论(0)
提交回复
热议问题