Ola Eldøy
Ola Eldøy

Reputation: 5936

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.

Upvotes: 22

Views: 8988

Answers (1)

jessehouwing
jessehouwing

Reputation: 115025

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.

  • Edit the pipeline
  • In the upper right corner open the ... menu
  • Pick the ⚡ Triggers option
  • Click the YAML tab
  • Click the Get Sources option
  • Reconfigure the source repo

Step by step ideo of the above steps.

Upvotes: 60

Related Questions