Is there a way to clone or copy an existing Ci/CD pipeline in Azure DevOps

Chris Miller picture Chris Miller · Sep 6, 2019 · Viewed 12.1k times · Source

I have a couple of CI pipelines that I'm using in Azure DevOps to build some Xamarin apps and I want to create a new one that merges the functionality of the two existing ones. Is there a way to copy or clone an existing pipeline so that I can make changes to the new pipeline without impacting the existing pipelines?

I saw that I can export a pipeline to a JSON file and then import it back in. All of the id values in the JSON file are GUID. Will the import process create new GUIDs or will importing the JSON file overwrite the existing pipeline.

Answer

Nick Schroeder picture Nick Schroeder · Feb 11, 2020

UPDATE February 11th, 2020

Not sure if this is a super-recent change, but you can now again easily clone an existing pipeline. From Pipelines, click on the pipeline you want to clone. On the page where the build history is shown, Clone has been moved to the ellipsis menu on this page.

enter image description here