Creating code pipelines

Learn how to build a code pipeline and automate code delivery.

Pipelines table

You can manage existing pipelines and create new ones from the Pipelines section in Code automation.

In the Pipelines table, you'll see four columns:

Pipeline

Shows pipeline name, the exporter used, and the design system data that is being exported to code.

Routine

Shows the event that triggers the pipeline to run, and the destination the resulting code is delivered to.

Latest build

Shows whether the build was successful or failed, and a timestamp of when it was completed.

Build output

Shows the result of the build. If the pipeline delivery is set to 'build only', this is where you can download the resulting code. If the delivery opens a pull request, you'll be able to go to it from here.


Run a pipeline

Pipelines table - context menu

You can manually run a pipeline at any time. To do so:

  1. In the Pipelines table, hover on the row of the pipeline you wish to run.
  2. Click Run to manually begin a build.

Or, alternatively:

  1. Click ••• at the right end of the column to open the context menu.
  2. Click Run pipeline to manually begin a build.

Pause a pipeline

You can temporarily pause a pipeline if you don't want it to keep running, but don't want to delete it entirely.

  1. In the Pipelines table, hover on the row of the pipeline you wish to pause.
  2. Click ••• at the right end of the column to open the context menu.
  3. Click Pause routine to pause the pipeline.

Resume a pipeline

Pipelines table - paused routine

Paused pipelines can be easily and quickly resumed whenever you want.

  1. In the Pipelines table, hover on the row of the pipeline you wish to resume.
  2. Click ••• at the right end of the column to open the context menu.
  3. Click Resume routine to resume the pipeline.

Download code and view exporter

If your pipeline delivery is set to 'build only', you'll see a Download code button in the Build output column. Click this to download your code.

You can also download the resulting code if the pipeline delivery is set to a pull request. To do so:

  1. In the Pipelines table, hover on the row of the pipeline you wish to download code from.
  2. Click ••• at the right end of the column to open the context menu.
  3. Click Download code.

Delete a pipeline

Delete pipeline
  1. In the Pipelines table, hover on the row of the pipeline you wish to delete.
  2. Click ••• at the right end of the column to open the context menu.
  3. Click Delete pipeline.
  4. In the confirmation dialog, click Delete pipeline to confirm and delete the pipeline permanently.