Skip to content

Commit

Permalink
fix(TestScript): ITs script should exit with error code for test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav Goswami committed Jun 2, 2021
1 parent 970acae commit b6cd3ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/testScript.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -euo pipefail

if [[ $TRAVIS_BRANCH == "main" && $TRAVIS_PULL_REQUEST == "false" ]]; then
curl https://us-south.functions.appdomain.cloud/api/v1/web/e6b54af6-ab44-4149-a8e4-e906dcc58136/default/secadvstg-location-shift.json
echo "${FINDINGS_ENV}" | base64 -d >> findings_v1.env
Expand Down

0 comments on commit b6cd3ab

Please sign in to comment.