Art
Art

Reputation: 3167

Can I use local and hosted agents for the same build

I have Hosted agent in the Hosted queue and I also installed local agent in the Default queue. Can I use them for the same build configuration to have builds running in parallel (for different branches/versions/etc)?

Upvotes: 0

Views: 47

Answers (2)

starian chen-MSFT
starian chen-MSFT

Reputation: 33738

The same build can’t be run in local and hosted agent. You can queue multiple build with different build agent. Another build can be triggered during current build by calling Queue a build rest api.

Upvotes: 1

Harshil Lodhi
Harshil Lodhi

Reputation: 7790

A build definition can only be configured against one Agent Queue, so it is not possible currently to use both Hosted as well as Default agent queue for a single build definition.

You can instead buy more Hosted Pipelines that will allow you to run more builds on Hosted agents in parallel or you can configure more local agents.

Upvotes: 0

Related Questions