2

Recently I asked about Moving a Visual Studio solution and projects, then establishing it with a different remote. Using the answer, I got I've copied my project into a new local repo and established the remote in Azure DevOps Services. However, now I'm trying to get the Azure build pipeline to work, but Azure Pipeline doesn't recognize azure-pipelines.yml file in the repo. I tried importing the pipeline, but that action wants a build pipeline JSON file, which the YAML file isn't.

How do I get Azure Pipelines to recognize the YAML file as build pipeline file?

Krzysztof Madej
  • 32,704
  • 10
  • 78
  • 107
Rod
  • 4,107
  • 12
  • 57
  • 81

2 Answers2

3

You need to create a new pipeline and select: Existing Azure PipelineS YAML file and then pick your yaml file.

enter image description here

Krzysztof Madej
  • 32,704
  • 10
  • 78
  • 107
0

I think the repository should be an Azure Git Repo to show the existing Azure pipeline file. Correct me if I am wrong, but my repo is a Gerrit and I can't see the option to select an Existing Pipeline file.