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 in it, 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 ••• at the right end of the column to open the context menu.
  3. Click Run pipeline to run the pipeline.

Alternatively, hovering on the row of the pipeline will also display a Run button next to the menu button. Click this to run the pipeline.

Pause a pipeline

You can 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 pipeline to pause this selected routine.

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 pipeline to resume this selected routine.

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.

You can also view the exporter used with the pipeline on your selected platform.

For example, in the same menu, click View exporter on GitHub to view it.


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.