Skip to content

Commit

Permalink
Added error code checking on each mvn package step
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Jun 7, 2019
1 parent 8bc8aea commit 6d17765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi

# Default build produces traditional war. Exit on failure.
mvn clean package
if [[ "$?" -ne 0 ]] ; the
if [[ "$?" -ne 0 ]] ; then
echo 'Aborting release due to build failure'; exit $rc
fi
# Build embedded Jetty distribution. Exit on failure
Expand Down

0 comments on commit 6d17765

Please sign in to comment.