Skip to content

Commit 18f0be3

Browse files
committed
DATAREDIS-920 - Capture exit code from maven and exit with it.
1 parent 82b5c2a commit 18f0be3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/test.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -euo pipefail
3+
set -uo pipefail
44

55
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
66

@@ -15,5 +15,10 @@ make test_start
1515

1616
./mvnw -U clean test -DrunLongTests=true -Pspring5-next
1717

18+
# Capture resulting exit code from maven (pass/fail)
19+
RESULT=$?
20+
1821
# Shutdown Redis
1922
make test_stop
23+
24+
exit $RESULT

0 commit comments

Comments
 (0)