Knowledge

Run Next Pipeline

Parameters
Name Description
action Required String The ID of the action.
next_pipeline_id Required Integer The ID of the next pipeline that will be executed.
type Required String The type of the action. Should be set to RUN_NEXT_PIPELINE.
revision Required String Can be one of HEAD or INHERIT.
comment String The next pipeline execution comment.
variables Variable[] The list of variables to set as parameters for the pipeline.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
Example
actions:
  - action: "Run backend/dev"
    type: "RUN_NEXT_PIPELINE"
    comment: "Triggered by ${execution.pipeline.name} execution #${execution.id}"
    revision: "HEAD"
    next_pipeline_id: 1
    variables:
    - key: "version"
      value: "$BUDDY_EXECUTION_ID"
      encrypted: false

Get started now

14 days of unlimited trial. No credit card required.