Last active
June 11, 2018 02:36
-
-
Save toolmantim/acaeb3efdd5860fec834995d34cd42ed to your computer and use it in GitHub Desktop.
An example custom Buildkite Agent bootstrap wrapper that logs the output of all build jobs.
This file contains hidden or 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 | |
# A custom bootstrap wrapper that logs the output of all build jobs. | |
# | |
# To use this file, either set the env variable before starting the agent: | |
# BUILDKITE_BOOTSTRAP_SCRIPT_PATH=/path-to-this-file | |
# | |
# or the agent configuration key: | |
# bootstrap-script=/path-to-this-file | |
exec buildkite-agent bootstrap "$@" |& tee "xyz.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment