terminate script execution in case of failure

This commit is contained in:
Thomas Müller 2014-09-09 17:12:20 +02:00
parent dc99fd768a
commit 8196536309
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,9 @@
# @author Vincent Petry
# @copyright 2014 Vincent Petry <pvince81@owncloud.com>
#
set -e
NPM="$(which npm 2>/dev/null)"
PREFIX="build"

View File

@ -6,6 +6,8 @@
# @copyright 2012, 2013 Thomas Müller thomas.mueller@tmit.eu
#
set -e
#$EXECUTOR_NUMBER is set by Jenkins and allows us to run autotest in parallel
DATABASENAME=oc_autotest$EXECUTOR_NUMBER
DATABASEUSER=oc_autotest$EXECUTOR_NUMBER