I am using Azure Classic UI to setup Release pipeline. I have 2 stages in a pipeline to reflect TEST and PRD. Also I am using self hosted agents to do build and release.
I have 2 Release Agent Pools (One for doing TEST and one for doing PRD releases) at Org level with a single agent in each. Each of these Agents is running on separate self hosted servers. Additionally I have another Agent Pool with single agent in it running build pipeline runs.
In the project I have a single release pipeline with 2 stages TEST and PRD. I want to be able to utilize the TEST Agent Pool for TEST stage and PRD for PRD stage. But I cant seem to define it anywhere. Is this possible ? I mean I can add an Agent Job in the pipeline where I can select one of the Agent Pools but When I add a Deployment group, I cant specify which Release Agent pool to use. It only does it by Deployment Group and I don't know if I can specify Deployment groups to run on a specific Release Agent ?
The Short of it is, how can I configure entire release pipeline to run on a specific Release Agent Pool ? Or define a specific stage of a pipeline to run on a specific Release Agent ? Maybe I am not understanding how release pipelines run. Thanks for any help