Skip to content

Commit

Permalink
Merge pull request #136 from buildkite-plugins/expand-headers-on-errors
Browse files Browse the repository at this point in the history
Expands the previous header groups on error
  • Loading branch information
toolmantim authored May 4, 2018
2 parents 2a8561b + 8e5ac1c commit aea63bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ override_file="docker-compose.buildkite-${BUILDKITE_BUILD_NUMBER}-override.yml"
pull_retries="$(plugin_read_config PULL_RETRIES "0")"

cleanup() {
# shellcheck disable=SC2181
if [[ $? -ne 0 ]] ; then
echo "^^^ +++"
fi

echo "~~~ :docker: Cleaning up after docker-compose" >&2
compose_cleanup
}
Expand Down

0 comments on commit aea63bd

Please sign in to comment.