How do make queued pipeline wait till the current running pipeline finishes running, if using same build agent in Azure pipeline for multiple branches

I am using the azure pipeline using YML for my CI process it is running for multiple branches in repo.

I want to make the next queued pipeline to wait till all the stages in my current pipeline are completed.

  • Why? What is your concern?

    – 

Leave a Comment