Import and export pipelines

This topic explains how to export pipelines and then import them to another server.

The export and import options are useful when working with multiple Deployment Automation servers, such as test and production servers. You can create and validate pipelines on the test server, then export them, and later import them to the production server.

Export pipelines

When you export a pipeline, the system creates a JSON file that contains the pipeline's configuration data.

For details about JSON, see www.json.org.

To export a pipeline:

  1. Navigate to Management > Pipelines.
  2. In the list of pipelines, click the Export icon next to a pipeline.

You can open the file in a text editor or save it. The saved JSON file has the same name as the selected pipeline.

Back to top

Import pipelines

When importing a pipeline, you can create a new pipeline or upgrade an existing one.

To import a pipeline:

  1. Navigate to Management > Pipelines.
  2. Click Import. The Import Pipeline dialog box opens.
  3. (Optional) To upgrade an existing pipeline, select Upgrade Pipeline.

    If the pipeline's name in the JSON file (not the name of the file itself) matches an existing pipeline, the pipeline's properties are updated with the new values, and new items, such as resources, are added. If the name of the pipeline is not found, the command has no effect.

    Note: The pipeline's name is the first parameter in the JSON file.

  4. Click Choose File and select the JSON file containing the pipeline.

  5. Click Import.

Back to top

See also: