Multiple YAML build pipelines in Azure DevOps
Multiple YAML build pipelines in Azure DevOps
Multiple YAML build pipelines in Azure DevOps
Re: Multiple YAML build pipelines in Azure DevOps
**@4c74356b41's** answer was correct, but now you can create as many build configurations using different yaml files and also with continuous integration without creating manual builds.
On the new pipeline flow follow these steps:
**1.** Choose where is your code:
[](https://i.sstatic.net/37tIc.png)
**2.** Select the repository of your code (the one which has the yml file):
[](https://i.sstatic.net/MP7wa.png)
**3.** On the configure pipeline, choose Existing **Azure Pipelines YAML file**:
[](https://i.sstatic.net/U1Moc.png)
**4.** Select the branch and the path where the yaml file is, then continue: Note: If it's not shown make sure your file has .yml extension
[](https://i.sstatic.net/G6Rdi.png)
**5.** Finally click **RUN**.
Note: After creating the pipeline this way, it will have continuous integration activated, but if you still want to have manual building follow the next:
Select your build and then Triggers:
[](https://i.sstatic.net/YTloK.png)
And then disable continuous integration:
[](https://i.sstatic.net/H3Ts0.png)
Or even easier, just add the line `trigger: none` to your yaml file.
On the new pipeline flow follow these steps:
**1.** Choose where is your code:
[](https://i.sstatic.net/37tIc.png)
**2.** Select the repository of your code (the one which has the yml file):
[](https://i.sstatic.net/MP7wa.png)
**3.** On the configure pipeline, choose Existing **Azure Pipelines YAML file**:
[](https://i.sstatic.net/U1Moc.png)
**4.** Select the branch and the path where the yaml file is, then continue: Note: If it's not shown make sure your file has .yml extension
[](https://i.sstatic.net/G6Rdi.png)
**5.** Finally click **RUN**.
Note: After creating the pipeline this way, it will have continuous integration activated, but if you still want to have manual building follow the next:
Select your build and then Triggers:
[](https://i.sstatic.net/YTloK.png)
And then disable continuous integration:
[](https://i.sstatic.net/H3Ts0.png)
Or even easier, just add the line `trigger: none` to your yaml file.