Azure DevOps YAML Pipelines are queued while using same environment in another pipeline during parallel execution

Prabakaran Mani 1 Reputation point
2022-12-29T10:47:04.337+00:00

Hi Team, I have a design of deploying almost 15 components in intranet VM's IIS by using YAML. For that, i have build 15 different pipelines which supports both CI and CD purpose. The triggers are used accordingly to support this setup. 3 different environments created and mapped respective virtual machines into it.

Each pipeline has 4 stages like below.
Build => Deploy into Environment 1 => Deploy into Environment 2 => Deploy into Environment 3

and also having 3 different pipelines for release management. the structure would be like below.
Manual Validation(Approvals) > Additional checks > stage completion.

here are my queries.

  1. For avoiding 15 different approvals each time while deploying the components into environment i could split the pipelines into 2 like above mentioned.
    For ex, Env1 release pipeline triggers 15 other pipelines and will execute only Env1 release stage in that.
    Is that correct approach ? or any other ideas could be used to implement the same concept?
  2. I observed during the execution, all jobs (15) executing the build job in parallel. but, deployment jobs for those 15 components are running one by one. until the 1st one completion, all other jobs are in queue. It really consumes lot of time to deploy all the components. is there any way to overcome this issue? we need to run the job parallel. the design of deployment is not making any issues if that is running parallel in my side.
  3. How to monitor and control all 15 pipelines deployed its packages in to server? because i want to send a release email to stakeholders once it is completed.
Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2022-12-30T01:11:37.387+00:00

    @Prabakaran Mani Thank you for reaching out to Microsoft Q&A. Unfortunately, Azure deVops is not supported in Q&A forum. I would suggest you to raise/report your problem in azure deVops developer community here.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.