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?
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
Something recalculates the system capabilities but I'm not sure what.
来源:https://stackoverflow.com/questions/34742138/no-agent-could-be-found-with-the-following-capabilities-grunt