An Azure DevOps organization has a YAML pipeline with three jobs in the same stage: BuildWeb, BuildApi and BuildDocs. None of the jobs has a dependsOn value, and none uses a matrix strategy. All three jobs use a self-hosted agent pool named BuildPool, which contains one agent. The organization has one self-hosted parallel job.
When the pipeline runs, the three jobs run one after another. You need all three jobs to run at the same time. The three jobs must remain separate jobs.
Which two actions should you perform? Each correct answer presents part of the solution.
The jobs are in the same stage and have no dependencies, so they are already eligible to run in parallel; the limit is capacity. An agent runs only one job at a time, and each job consumes a parallel job, so with one agent and one parallel job the jobs queue and run sequentially. Adding two agents and raising the self-hosted parallel jobs to three removes both limits.
- Jobs in Azure Pipelines - Azure PipelinesMicrosoft Learn
- Design and implement a pipeline strategy: Implement multi-job buildsMicrosoft Learn