You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/02/14 08:40:06 UTC
[isis] branch master updated: ISIS-2158: CI: run build script with
-o pipefail
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new b981b37 ISIS-2158: CI: run build script with -o pipefail
b981b37 is described below
commit b981b37c26e916ecc767f95b2e4e1ffaf1f953b7
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Feb 14 09:39:56 2020 +0100
ISIS-2158: CI: run build script with -o pipefail
---
scripts/ci/build-core.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/ci/build-core.sh b/scripts/ci/build-core.sh
index fd1550c..c6deeaa 100644
--- a/scripts/ci/build-core.sh
+++ b/scripts/ci/build-core.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-set -e
+set -eo pipefail
if [ -z "$BATCH_MODE_FLAG" ] || [ "$BATCH_MODE_FLAG" != "off" ]; then
BATCH_MODE=--batch-mode
@@ -79,7 +79,6 @@ mvn -s $SETTINGS_XML \
# debugging issue, where CI pipeline succeeds even though maven build fails
if [ $? -eq 0 ]; then
echo "Maven ran ok"
- exit 0
else
echo "Maven failed" >&2
exit 1