TFS 2015 vNext Gated Check-in版本是“正在等待请求代理"吗?

TFS 2015 vNext Gated Check-in版本是“正在等待请求代理

问题描述:

我们正在尝试使用TFS 2015 Gated Build.触发器正确挂接,就可以创建内部版本,但是它永远不会被任何代理拾取.非门控构建可以正常启动,如果我们手动重新启动门控构建,也可以正常运行.但是,封闭的构建(重要的构建)只是坐在那里说等待请求代理"和等待可用的代理":

We are trying to use TFS 2015 Gated Builds. The trigger hooks in correctly, and the build gets created, but it never gets picked up by any agent. Non-gated builds start fine, and if we manually restart the gated build, that runs fine too. But the gated build (the important one), just sits there saying "Waiting for an agent to be requested" and "Waiting for an available agent":

在_diag文件夹中没有为这些构建创建日志.

No logs get created in the _diag folder for these builds.

添加了代理的screncap:

Added screncap of agent:

检查 TFS项目集合数据库中的表 tbl_BuildAgent .有时代理条目可能会导致此问题.

Check the table tbl_BuildAgent in TFS project collection database. Sometimes an agent entry may be causing this issue.