Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This document explains how to share payload config - runtime arguments and plugin configuration between pipelines.

Prerequisites:

You should have more than one pipeline created with runtime arguments in configuration of the artifacts.

Instructions

Linking pipelines using Triggers

  1. Go to ‘List’ in Pipeline section of the menu, you will see your available pipelines here.

  2. Select the pipeline (let’s call it pipeline2) that you want to run based on result (Success, Failure or Stop) of a previous pipeline (pipeline1). Pipeline1 can trigger pipeline2 based on its execution result.

  3. Click on ‘Inbound Triggers’ on left side of your screen to see which pipelines can trigger your current pipeline.

  4. Click on the pipeline you want to use a trigger for your current pipeline. You can select when this trigger will execute - based on success, failure or stoppage of the pipeline. You can choose more than one option.

  5. Click on ‘Enable Trigger’ if you do not want to pass any payload configuration between these pipelines.

Passing payload config as runtime arguments

  1. Click on ‘Trigger Config’ to see runtime arguments and plugin configuration you can pass along when this trigger executes.

  2. In the runtime arguments section, from the dropdown lists, you can pick runtime arguments from the first pipeline to pass along to the second one.

  3. Click on ‘Plugin Config’ to see list of properties form all the plugins you have in your pipeline1 that you can pass along with the trigger to pipeline2.

  4. Once you have all the runtime arguments and plugin configuration set to include with the trigger, click on ‘Configure and Enable Trigger’ to enable the trigger. You can see the count increased in your ‘Inbound Trigger’ indicator and in the ‘View enabled triggers’ tab when you click on ‘Inbound Triggers’ indicator.

  5. You can view the configuration you have set for this trigger if you click on ‘View Payload’.

Related articles

  • No labels