Created
November 5, 2018 05:04
Star
You must be signed in to star a gist
An example of dynamically adding a trigger step during a running Buildkite build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
cat << YML | buildkite-agent pipeline upload | |
steps: | |
- trigger: "other-pipeline" | |
async: true | |
build: | |
message: "${BUILDKITE_MESSAGE}" | |
commit: "${BUILDKITE_COMMIT}" | |
branch: "${BUILDKITE_BRANCH}" | |
YML |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment