Merge pull request #10969 from owncloud/set-e

terminate script execution in case of failure
remotes/origin/fix-10825
Vincent Petry 12 years ago
commit cd94b54be3
  1. 3
      autotest-js.sh
  2. 2
      autotest.sh

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

@ -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

Loading…
Cancel
Save