## [错误]在池中找不到满足以下需求的代理:buildId。所有需求:agent.version -gtversion 2.182.1

发布于 2025-01-28 06:49:27 字数 254 浏览 2 评论 0 原文

我试图使用Azuredevops Pipeline使用Azure CLI在Azure中创建VM(6 VM的比较)并执行操作。但是,在创建VM之后,它花了更长的时间,最后由于此错误而失败。 ## [错误]池中未在xxxxxxxxxxxxxxxx中找到任何满足以下需求的代理:buildId。所有需求:buildId- equals xxxxx,agent.version -gtversion 2.182.1

任何人都可以路由此问题的确切路线。

I am trying to create VM's(6 vm's parallely) in Azure through AzureDevOps pipeline using azure cli and perform actions. But after creation of VM's it is taking longer time and finally failing with this error.
##[error]No agent found in pool XXXXXXXXXXXXXXXXX which satisfies the following demand: BuildId. All demands: BuildId -equals XXXXX, Agent.Version -gtVersion 2.182.1

Can anyone route the exact route cause for this issue.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神魇的王 2025-02-04 06:49:27

## [error]在池xxxxxxxxxxxxxxxxx中未找到代理,它满足以下需求:buildId。所有需求:buildid- equals xxxxx,agent.version -gtversion 2.182.1

错误表明您在执行任务时没有代理。
要解决此问题,您可以使用自托管代理。它为您提供了更多控制安装依赖软件 构建和部署所需的

注意:尽管可以每台机器安装多种代理,但我们强烈建议每台机器只安装一个代理。安装两个或多个代理可能会对性能产生不利影响和管道的结果。

您可以使用Microsoft托管代理或自托代理。如果您针对默认池进行配置,则注册任何自托管代理将是一个设置。

  1. 导航到设置 - >代理池具有默认并检查其是否配置任何代理。请参阅下载并注册池的代理。
  2. 为代理池添加新代理。单击新代理按钮下载并使用它。

参考

##[error]No agent found in pool XXXXXXXXXXXXXXXXX which satisfies the following demand: BuildId. All demands: BuildId -equals XXXXX, Agent.Version -gtVersion 2.182.1

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.

  1. Navigate to Settings -> Agent pool has Default and check whether it configures any agent or not. Refer here to download and register the agent for the pool.
  2. Add new Agent for the Agent pool. Click the New Agent button to download and use it.

Reference

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文