找不到具有以下功能的代理 [英] No agent could be found with the following capabilities

查看:47
本文介绍了找不到具有以下功能的代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经安装并配置了TFS2017并尝试设置构建然后我配置了构建代理。

I have installed and configured TFS2017 and try to setup build then i configured the build agent.


我一直在"没有找到具有以下功能的代理:msbuild,visualstudio,vstest"错误,

I keep getting the "No agent could be found with the following capabilities: msbuild, visualstudio, vstest" error,


以下是我实现中使用的软件版本。

- Team Foundation Server 2017 Update 2 

- SQL Server 2016 Enterprise With Service Pack 1

Below are the software versions been used in my implementation.
- Team Foundation Server 2017 Update 2 
- SQL Server 2016 Enterprise With Service Pack 1


在我的电台上VS2017 15.2

On my station VS2017 15.2


请帮忙。


谢谢你

Thank you

推荐答案

Hi Migi2017,

Hi Migi2017,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

>>>我不断获得"未找到具有以下功能的代理:msbuild,visualstudio ,vstest"错误

>>>I keep getting the "No agent could be found with the following capabilities: msbuild, visualstudio, vstest" error

您是否在构建代理上安装了Visual Studio?如果是,请重新启动构建代理。重新启动构建代理,检查功能:设置>> AgentPools >>选择游泳池>>选择特定代理>>功能。
如果不存在,请尝试手动添加用户功能:

Have you installed the Visual Studio on the build agent? If yes, then restart the build agent. Restarting the build agent, check the capabilities: Settings >> AgentPools >> Select the pool >> select the specific Agent >> Capabilities. If it not exists, please try to add User Capabilities manually:

设置>> AgentPools>>选择池>>选择特定代理>>功能>>在USER CAPABILITIES下添加功能

按照以下步骤向机器注册功能,因此所有代理都会自动获取功能。

Settings >> AgentPools >> Select the pool >> select the specific Agent >> Capabilities >> Add capability under USER CAPABILITIES
Register capabilities to the machine following below steps, thus all the agents will automatically pick up the capabilities.

控制面板>>系统>> Advan ced系统设置>>环境变量>>新系统变量>>输入下面列出的变量名称和值>>确定>>

Control Panel >> System >> Advanced System Settings >> Environment Variables >> New System Variable >> Enter the variable name and value listed below >> OK >>

执行此操作后,重新启动代理服务会让每个服务都自动获取新功能。

After doing so, restart the agents services will have each of them automatically pick up new capabilities.

请检查以下内容链接,为您提供有关如何创建构建代理的信息:

Please check the below links which gives you information on how to create build agent:

http://nakedalm.com/configure-a-build-vnext-agent-on-vso/

https://msdn.microsoft.com/Library/vs/alm/Build/agents/windows?f=255& MSPPError = -2147217396

此外,这个论坛是关于MSBuild的,因为你的问题与TFS有关,我建议你可以用TFS在Stackoveflow上打开一个新线程标签。

Besides, this forum is about MSBuild, as your problem is more related to TFS, I suggest that you can open a new thread on the Stackoveflow with TFS tag.

感谢您的理解与合作。


这篇关于找不到具有以下功能的代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆