## [错误]在池中找不到满足以下需求的代理:buildId。所有需求:agent.version -gtversion 2.182.1
我试图使用Azuredevops Pipeline使用Azure CLI在Azure中创建VM(6 VM的比较)并执行操作。但是,在创建VM之后,它花了更长的时间,最后由于此错误而失败。 ## [错误]池中未在xxxxxxxxxxxxxxxx中找到任何满足以下需求的代理:buildId。所有需求:buildId- equals xxxxx,agent.version -gtversion 2.182.1
任何人都可以路由此问题的确切路线。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
错误表明您在执行任务时没有代理。
要解决此问题,您可以使用自托管代理。它为您提供了更多控制安装依赖软件您 构建和部署所需的 。
注意:尽管可以每台机器安装多种代理,但我们强烈建议每台机器只安装一个代理。安装两个或多个代理可能会对性能产生不利影响和管道的结果。
您可以使用Microsoft托管代理或自托代理。如果您针对默认池进行配置,则注册任何自托管代理将是一个设置。
参考
The error shows that you don't have the agent while doing your task.
To fix this you can use the Self-Hosted agent. It gives you more control to install dependent software needed for your builds and deployments.
Note: Although multiple agents can be installed per machine, we strongly suggest to only install one agent per machine. Installing two or more agents may adversely affect performance and the result of your pipelines.
Either you can use Microsoft-hosted agents or Self-Hosted Agents. If you configure run against the default pool, it would be one setup for you to register any Self-Hosted Agents.
Reference