Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Prerequisites:

...

Before you begin

Create two or more pipelines with run time arguments configured.

Instructions

Linking pipelines using Triggers

  1. Go to ‘List’ List in the Pipeline section of the menu, you . 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’ 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 as 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’ 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’ 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 drop-down lists, you can pick runtime arguments from the first pipeline to pass along to the second one.

  3. Click on ‘Plugin Config’ 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 Configure and Enable Trigger’ Trigger to enable the trigger. You can see the count increased in your ‘Inbound Trigger’ Inbound Trigger indicator and in the ‘View View enabled triggers’ triggers tab when you click on ‘Inbound Triggers’ Inbound Triggers indicator.

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

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sortmodified
typepage
reversetrue
labelskb-how-to-article
cqllabel = "kb-how-to-article" and type = "page" and space = "KB"

...