How to make sure same agent is picked up in azure pipeline for the subsequent jobs?
I have a multiple job yaml pipeline in azure devops. There are multiple agents in the pool all the jobs uses the same pool. I am seeing an issue where the previous job is picking up the agent 1 and next job is picking up the agent 2. Is there any way to to restrict the pipeline to use the same agent for all the jobs in a pipeline?