Поделиться через


Clone or import a pipeline

TFS 2018

One approach to creating a pipeline is to copy an existing pipeline and use it as a starting point. For YAML pipelines, the process is as easy as copying the YAML from one pipeline to another. For pipelines created in the classic editor, the procedure depends on whether the pipeline to copy is in the same project as the new pipeline. If the pipeline to copy is in the same project, you can clone it, and if it is in a different project you can export it from that project and import it into your project.

Clone a pipeline

This version of TFS doesn't support YAML pipelines.

Export and Import a pipeline

You can create a new classic pipeline by exporting an existing one and then importing it. This is useful in cases where the new pipeline has to be created in a separate project.

This version of TFS doesn't support YAML pipelines.

Next steps

Learn to customize the pipeline you just cloned or imported.