I was playing with Azure Build pipelines. My Goal was that Developer should be able to create a Build Pipeline for their project. But he/she will not be creating it via Azure DevOps console, instead, they would Trigger a build job which would create Build pipelines for them. I was able to achieve it by having a common Template.json and invoking it using PowerShell scripts.
But I see that we can create a build pipeline by having an azure-pipelines.yaml in our repo. So I have two issues which I am struggling to face.
- An Azure pipeline job that will read the azure-pipelines.yaml and create a build pipeline for the user.
- Read the
Azure-pipelines.yaml
file which is kept inside the sub directories in the repo.
Appreciate your help.
Thanks.