YAML for Trigger pipeline
Trigger another pipeline execution from the current pipeline.
YAML examples for Trigger pipeline
Run another pipeline with all options
yaml
- action: "Run assety-copied/test-asset-copy"
type: "RUN_NEXT_PIPELINE"
comment: "Triggered by $BUDDY_PIPELINE_NAME execution #$BUDDY_RUN_ID"
revision: "HEAD"
wait: true
clear_cache: true
refresh: true
environment: "$BUDDY_RUN_ENV"
priority: "HIGH"
artifact: "myartifact:latest"
project: "assety-copied"
pipeline: "test-asset-copy"
Simple pipeline trigger
yaml
- action: "Run my-project/my-pipeline"
type: "RUN_NEXT_PIPELINE"
project: "my-project"
pipeline: "my-pipeline"
Run another pipeline on a specific revision
yaml
- action: "Run my-project/my-pipeline on a1b2c3d"
type: "RUN_NEXT_PIPELINE"
project: "my-project"
pipeline: "my-pipeline"
revision: "SPECIFIC"
specific_revision: "a1b2c3d"