Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADO: Use an agent pool across multiple projects

Is it possible to use an agent pool across multiple projects within the same ADO organization?

like image 291
user18610347 Avatar asked Jan 28 '26 16:01

user18610347


2 Answers

I know this is a bit old, but I found another solution. Simply add one projects pool to the other project.

  1. In the project that needs to use another project's pool, go to Project Settings | Agent Pools
  2. Click Add Pool
  3. Select Existing in the top radio set
  4. Pick the pool from the other project
  5. Hit create

That's it, you should now be able to select the other projects pool

like image 171
CrazedBear Avatar answered Jan 30 '26 13:01

CrazedBear


Yes

In Azure Pipelines, pools are scoped to the entire organization; so you can share the agent machines across projects.

https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues?view=azure-devops&tabs=yaml%2Cbrowser

You're a member of the infrastructure team and would like to set up a pool of agents for use in all projects. First make sure you're a member of a group in All agent pools with the Administrator role by navigating to agent pools page in your organization settings. Next create a New agent pool and select the option to Auto-provision corresponding agent pools in all projects while creating the pool. This setting ensures all projects have access to this agent pool. Finally install and configure agents to be part of that agent pool.

like image 31
Kontekst Avatar answered Jan 30 '26 14:01

Kontekst



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!