【发布时间】:2017-02-12 23:37:26
【问题描述】:
在启动使用 TFS 2015 的构建并且最近刚刚升级到更新 2 时,使用 vNext 的构建不再工作。
我得到错误:
TF226001:无法为工厂 QueueDetails 创建详细节点
在网络浏览器中查看构建状态时,表示正在等待构建代理。
TFS 版本:TFS 2015 更新 2 / 14.95.25122.0。
我怎样才能让构建再次工作?
【问题讨论】:
在启动使用 TFS 2015 的构建并且最近刚刚升级到更新 2 时,使用 vNext 的构建不再工作。
我得到错误:
TF226001:无法为工厂 QueueDetails 创建详细节点
在网络浏览器中查看构建状态时,表示正在等待构建代理。
TFS 版本:TFS 2015 更新 2 / 14.95.25122.0。
我怎样才能让构建再次工作?
【问题讨论】:
在构建代理上重新配置构建代理服务解决了该问题。
以下脚本只是我使用所有现有配置值在构建代理上重新运行的 PowerShell 构建代理脚本的转储(已替换名称)。我只是按 Enter 为每个。重新配置代理后,排队的构建再次开始工作。
PS C:\TEMP> .\ConfigureAgent.cmd
An existing configuration file was detected. This will update the local agent settings. Do you want to also replace th
e server registration (default is N)?
Enter the name for this agent (default is Agent-AGENTCMP01)
Enter the URL for the Team Foundation Server (default is http://mytfs.mycompany.com:8080/tfs/)
Configure this agent against which agent pool? (default pool name is 'My Pool')
Enter the path of the work folder for this agent (default is 'C:\TEMP\_work')
Would you like to install the agent as a Windows Service (Y/N) (default is Y)
Enter the name of the user account to use for the service (default is MYDOMAIN\MYACCT)
Removing EventLog source vsoagent.mytfs.Agent-AGENTCMP01.
Service vsoagent.mytfs.Agent-AGENTCMP01 is being removed from the system...
Service vsoagent.mytfs.Agent-AGENTCMP01 was successfully removed from the system.
Installing service vsoagent.mytfs.Agent-AGENTCMP01...
Service vsoagent.mytfs.Agent-AGENTCMP01 has been successfully installed.
Creating EventLog source vsoagent.mytfs.Agent-AGENTCMP01 in log Application...
Configuration successful.
PS C:\TEMP>
【讨论】: