TFS 2015 vNext Gated Check-in builds are “Waiting for an agent to be requested”?

半世苍凉 提交于 2019-12-11 09:57:07

问题


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":

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

EDIT: Added screncap of agent:


回答1:


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



来源:https://stackoverflow.com/questions/43126486/tfs-2015-vnext-gated-check-in-builds-are-waiting-for-an-agent-to-be-requested

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!