다음을 통해 공유


Azure DevOps: Export - Import CI build pipelines

 In this post, we'l walk you through the process of exporting and importing a CI pipeline from one Azure DevOps project to another.

Prerequisites

  • An Azure DevOps account - If you don't already have a DevOps account, you may create one by following the instructions in this article.
  • A build pipeline - You can create an Azure DevOps build pipeline by following this article.

Note

The YAML cannot be imported in order to create a new pipeline. It is necessary to export and import a JSON file.

Export a build pipeline

The below steps show how to export a build pipeline in a json file.

  • Sign-in to Azure DevOps portal.
  • Choose the organization and project from which wish to export the JSON file for the build process.
  • On the left-hand side menu navigate to Pipelines,

 
 on the top right corner select https://cloudopszone.com/wp-content/uploads/2022/01/2022-01-28_21-41-59.png

and then Export to JSON
**

**
 The browser will download and save the file to the downloads directory.

 

Browser Downloads default path
Microsoft Edge C:\Users\{username}\Downloads
Google Chrome C:\Users\{username}\Downloads

 

Import the build Pipeline

The below steps show how to import the build Pipeline, exprorted in the previously.

 
choose the previously exported JSON file and click Import.

Finally, configure necessary settings, and then the build pipeline is ready to use. 

See Also

Create your first pipeline
Clone or import a pipeline
YAML pipeline editor