In the scenario where we are creating Azure pipeline using a Github repo, there is an error in the flow where it tries to run the build.
This was occuring as the .yaml file was getting checked in at the working directory but for the build, the Az pipeline was looking at the root location which was a mismatch, hence causing the error.
The requirement for the Azure pipeline flow is to have the .yaml file at the root folder and therefore, making the path change so that the pipeline is able to fetch the right file and the build can be run.
In the scenario where we are creating Azure pipeline using a Github repo, there is an error in the flow where it tries to run the build.
This was occuring as the .yaml file was getting checked in at the working directory but for the build, the Az pipeline was looking at the root location which was a mismatch, hence causing the error.
The requirement for the Azure pipeline flow is to have the .yaml file at the root folder and therefore, making the path change so that the pipeline is able to fetch the right file and the build can be run.