Should fail the build if acceptance tests fail at any time
This commit is contained in:
@@ -20,7 +20,7 @@ install:
|
||||
script:
|
||||
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw --settings .settings.xml clean deploy -nsu'
|
||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw clean install -nsu'
|
||||
- sh scripts/runAcceptanceTests.sh
|
||||
- sh -e scripts/runAcceptanceTests.sh
|
||||
env:
|
||||
global:
|
||||
- GIT_NAME="Spencer Gibb"
|
||||
|
||||
@@ -28,7 +28,7 @@ done
|
||||
|
||||
if [ "$success" = true ] ; then
|
||||
echo "Successfully booted up all the apps. Proceeding with the acceptance tests"
|
||||
sh -e runAcceptanceTests.sh -Dspring.zipkin.enabled=false -Dspring.cloud.zookeeper.maxRetries=5 -Dpresenting.url=$url:9091
|
||||
bash -e runAcceptanceTests.sh -Dspring.zipkin.enabled=false -Dspring.cloud.zookeeper.maxRetries=5 -Dpresenting.url=$url:9091
|
||||
else
|
||||
echo "Failed to boot the apps. Will now kill the containers and remove them"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user