1
votes

I'd like to add an additional Agent Pool with Hosted Agents into Azure DevOps. How can we do that? When I click "Add pool" button there is no option to add Hosted Agent type of Agent Pool, only Self-hosted or Azure virtual machine scale set. enter image description here I need to do that, because there are 2 Pipelines that always must have access to 1 Hosted Agent. That agent should never be used outside of these 2 Pipelines. And in case if these 2 Pipelines are queued at the same time, one of them must wait for the Hosted Agent to complete the second Pipeline. I wanted to achieve that by having separate Agent pool and referencing it by:

pool:
  name: 'Azure Pipelines 2'
1
You can't. There is one hosted agent pool. Why do you want to do this?Daniel Mann
I explained why I want this.WinBoss

1 Answers

1
votes

You can't add new hosted agent pool. But you can increase the number of hosted agents by purchasing additional parallel jobs in workspace Settings > Pipelines > Parallel jobs.

enter image description here