]> source.dussan.org Git - nextcloud-server.git/commitdiff
terminate script execution in case of failure
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 9 Sep 2014 15:12:20 +0000 (17:12 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 9 Sep 2014 15:12:20 +0000 (17:12 +0200)
autotest-js.sh
autotest.sh

index 8b9a106b0219930bc34e3f6c24f9c6b3077fd42e..a3a5f65fd2b9faced3d0c75832fffb65658bbda1 100755 (executable)
@@ -7,6 +7,9 @@
 # @author Vincent Petry
 # @copyright 2014 Vincent Petry <pvince81@owncloud.com>
 #
+
+set -e
+
 NPM="$(which npm 2>/dev/null)"
 PREFIX="build"
 
index d359aed91e7c190e55eb03295e724d7a00faaeed..eb6b48881887555acf5af57c845135da9e00c522 100755 (executable)
@@ -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