From 0d7c73c5835692288f6a194602bde55940b14da7 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Tue, 22 Sep 2020 07:48:02 -0500 Subject: [PATCH] Set errexit output (#3894) --- scripts/build.sh | 2 ++ scripts/compileOnly.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index fe43ccdaa..76a3d6fc8 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,6 @@ #!/bin/bash +set -o errexit + (cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install -B -Pdocs ${@}) ./mvnw clean install -B -Pdocs ${@} diff --git a/scripts/compileOnly.sh b/scripts/compileOnly.sh index 4c08b23e5..0b6040169 100755 --- a/scripts/compileOnly.sh +++ b/scripts/compileOnly.sh @@ -1,4 +1,6 @@ #!/bin/bash +set -o errexit + (cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install -B -Pdocs -DskipTests) ./mvnw clean install -B -Pdocs -DskipTests -fae