Search code examples
continuous-integrationazure-pipelinestfs-2018

TFS 2018 Change Agent queue in release to same build agent


I added a new agent Queues to speed up my build process

enter image description here

When I do the building process, I choose the agent that I will work with,

enter image description here

but during the Release stage, it does not change, it remains the default agent Queues

enter image description here

What is the correct way to pass the agent from the build process to the Release process?


Solution

  • Classic release pipelines do not support dynamic pool agents. I think you may use one of the following approaches:

    1. Assign Builds to the Default pool and assign Releases to the MAX pool. However, amount of builds is always more than amount of releases.
    2. Use only one Default pool and register the second build agent here. In this case, each build or release will wait for a free build agent. You speed up at least 2 times all your build and release runs here.