Azure DevOps - How to update pipeline repo source without re-create a new one?

Viewed 1139

I am planning to move my Azure pipeline source files to a new Azure repo. How can I update the existing pipeline setting to point to the new Azure private repo location? I prefer not to re-create the repo and variables. Right now, if I edit the current pipeline setting, it would only allow me to select .yml files from the current repo. There's not option to change repo.

Thanks

1 Answers

From your description, the pipeline is Yaml type.

You could navigate to Triggers -> YAML -> Get sources.

enter image description here

enter image description here

Then you could select the target Azure repo.

If the Yaml file has different name, you could also select the target yaml file in the Settings.

Related