Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7880 from EOSIO/cicd-test-artifacts-r1.8
Browse files Browse the repository at this point in the history
[1.8.x] Ensure Artfacts Upload on Failed Tests
  • Loading branch information
heifner authored Sep 10, 2019
2 parents e864b0e + 2649e65 commit 3e8468f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cicd/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ set -eo pipefail
# tests
if [[ $(uname) == 'Darwin' ]]; then # macOS
export PATH=$PATH:~/mongodb/bin
set +e # defer error handling to end
./"$@"
EXIT_STATUS=$?
else # Linux
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$IMAGE_TAG.dockerfile
echo "$ docker run --rm --init -v $(pwd):$MOUNTED_DIR $(buildkite-intrinsics) $FULL_TAG bash -c \"$MOUNTED_DIR/$@\""
set +e # defer error handling to end
eval docker run --rm --init -v $(pwd):$MOUNTED_DIR $(buildkite-intrinsics) $FULL_TAG bash -c \"$MOUNTED_DIR/$@\"
EXIT_STATUS=$?
fi
Expand Down

0 comments on commit 3e8468f

Please sign in to comment.