No agent could be found with the following capabil

2019-05-02 04:42发布

When I try to queue a build on my on-premises TFS 2015 Update 1 I get the following error message:

No agent could be found with the following capabilities: grunt

I've already installed NodeJS and grunt-cli and they're in the path (i.e. they can be executed in cmd from any location).

What am I missing?

1条回答
劳资没心,怎么记你
2楼-- · 2019-05-02 05:31

Go to your pool settings page: http://SERV_NAME:8080/tfs/_admin/_AgentPool and select your agent, verify that grunt is added as a system capability with the correct path set. If it's not there, you can manually add it as a user capability

enter image description here

Something recalculates the system capabilities but I'm not sure what.

查看更多
登录 后发表回答