Skip to content

Instantly share code, notes, and snippets.

@plasticine
Last active July 18, 2019 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plasticine/fbdfc6dcefa316f315031be64fd28357 to your computer and use it in GitHub Desktop.
Save plasticine/fbdfc6dcefa316f315031be64fd28357 to your computer and use it in GitHub Desktop.
steps:
- trigger: juzzy-secondary
label: ":pipeline: First Trigger"
build:
env:
PARENT_JOB_LABEL: First
PARENT_JOB_ID: "$BUILDKITE_JOB_ID"
- wait
- trigger: juzzy-secondary
label: ":pipeline: Second Trigger"
build:
env:
PARENT_JOB_LABEL: Second
PARENT_JOB_ID: "$BUILDKITE_JOB_ID"
- wait
- trigger: juzzy-secondary
label: ":pipeline: Third Trigger"
build:
env:
PARENT_JOB_LABEL: Third
PARENT_JOB_ID: "$BUILDKITE_JOB_ID"
steps:
- label: "$PARENT_JOB_LABEL > Job"
command: exit 0
parallelism: 2
steps:
- command: buildkite-agent pipeline upload --job $PARENT_JOB_ID sub-pipeline-steps.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment