githubazure-pipelinesazure-pipelines-yaml

How to change the repository location for a pipeline in Azure Pipelines


I have imported a repository from BitBucket to GitHub. How can I point the existing pipeline in Azure Pipelines to the new repository location? The UI has failed me so far.


Solution

  • Simplest way is to create a new pipeline, link it to the github repo and point it to the existing yaml file.

    But there is a way to retarget the existing pipeline.

    Step by step ideo of the above steps.