Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
469 views
in Technique[技术] by (71.8m points)

Error on azure release pipeline:No agent found in pool 'some pool' which satisfies the specified demands: Agent.Version -gtVersion 2.155.1

I am deploying from azure devops using a self hosted deploy agent, using azure release pipelines.

The deployment pool is shared and served by one deploy agent running on a windows 2019. All works well for the old project.

I created a new project that consumes the same deployment pool. When i submit a new Release to the pool i got the error:

No agent found in pool DEV Server Pool which satisfies the specified demands: Agent.Version -gtVersion 2.155.1 

I try forcing update on the deployment pool, from the "Organization Settings"->"Deployment Pools" page, but the agent is not upgraded.

How i can i fix this? Should the agent self-upgrade?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

According to the error message, it seems that you are using self-hosted agent instead of deployment group, please check the pic below. Demands and capabilities are designed for use with self-hosted agents so that jobs can be matched with an agent that meets the requirements of the job. If it doesn't match, we will get the error message: No agent found in pool {pool name} which satisfies the specified demands: {Demand}

enter image description here

Also we could download the self-hosted agent(version 2.155.1) via this page and then install the agent under the agent pool DEV Server Pool, It will also work.

We could also refer to this doc to update the self-hosted agent.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.7k users

...