Merge pull request #10969 from owncloud/set-e

terminate script execution in case of failure
This commit is contained in:
Vincent Petry 2014-09-09 20:08:48 +02:00
commit cd94b54be3
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