Skip to content

Commit 7b5499a

Browse files
committed
Define exit status before using
1 parent 373b2bd commit 7b5499a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e
33
rm -rf *.zip
4-
./gradlew clean check assemble
4+
./gradlew clean check assemble || EXIT_STATUS=$?
55

66
if [ "${TRAVIS_JDK_VERSION}" == "openjdk11" ] ; then
77
exit $EXIT_STATUS

0 commit comments

Comments
 (0)