Can you change the location of azure-pipelines.yaml in Azure Devops?
yes you can do that, when creating the build use old UI wizard, if you already have a build in place, you can open its settings>variables (or triggers) and then navigate to the YAML section and under YAML file path
you can change it
click the ...
on the build edit page next to the Run
button:
The UI has changed a bit so it's now under the Settings sub menu of the pipeline:
This solution also works for the cases when you simply want to rename the YAML file to whatever you believe is more appropriate rather than default azure-pipelines.yml. For instance, you might have several builds in the same repo: build_asp_net.yml, build_docker_image.yml, etc.