我正尝试通过 Visual Studio测试代理部署在 TFS 2015 的vNext版本中构建配置步骤在远程计算机中配置TestAgent。
Tfs Collection Url不匹配。预期: http://server:8080/tfs/DefaultCollection/ ,当前 http://server:8080/tfs/DefaultCollection
只是 /
我收到以下提到的错误
Tfs Collection Url mismatch. Expected : http://server:8080/tfs/DefaultCollection/, Current http://server:8080/tfs/DefaultCollection. Reconfiguration required.
Trying to open the config file : C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Ide\DTAExecutionHost.exe.config
Changing trace level...
Logs will now be stored at : C:\DtaLogs
Stdout : Microsoft (R) Visual Studio Test Agent Configuration Tool Version 14.0.24712.0
Copyright (c) Microsoft Corporation. All rights reserved.
Getting Configuration:
Queried current configuration successfully.
Verify user name and password:
Validated user name and password.
Enable Remote Desktop:
No change to the Remote Desktop setting as Remote Desktop was already enabled on the machine.
Firewall Configuration:
No change to the firewall setting as the firewall exception was already enabled for the service 'Remote Desktop'.
Configured firewall exceptions for: 'Remote Desktop'.
Failed to configure TFS Team Project Collection.
TeamProjectCollection Configuration:
Registered with the team project collection successfully.
Stop test agent process:
Test agent process stopped successfully.
Configure test agent as an interactive process:
Adding the process as startup program for user EA\Administrator...
Disabling screen saver for user EA\Administrator...
Configured test agent process successfully.
ACL Configuration:
Configured ACL successfully.
Start test agent process:
Test agent process started successfully.
Stop Service:
Stopped service.
Service Configuration:
Removed service successfully.
Service Configuration:
Exit code : -1
TestAgent Configuration failed with exit code
Deploy and configuration of test agent failed. Check the logs for more details.
答案 0 :(得分:0)
实际上,通过更新TFS 2015 Update 1解决了这个问题,这是微软TFS 2015的一个错误。
没有关于该错误的文档,我花了很多时间才弄明白。
谢谢,