diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2015-12-04 12:43:08 +0000 |
---|---|---|
committer | Sergio Bertolin <sbertolin@solidgear.es> | 2015-12-04 12:43:08 +0000 |
commit | 48a91164e5e63e3c1ef2c14b54337dbf19ed7d04 (patch) | |
tree | 35d0268b2a771576911ccf9148d1d58f42229160 /build | |
parent | 5750a85e84c09dbb759ff2c1f0e60b1f047acca6 (diff) | |
download | nextcloud-server-48a91164e5e63e3c1ef2c14b54337dbf19ed7d04.tar.gz nextcloud-server-48a91164e5e63e3c1ef2c14b54337dbf19ed7d04.zip |
Controlled arguments for run script
Diffstat (limited to 'build')
-rwxr-xr-x | build/integration/run.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh index 76c01068deb..23f71f83ff3 100755 --- a/build/integration/run.sh +++ b/build/integration/run.sh @@ -2,6 +2,9 @@ composer install +SCENARIO_TO_RUN=$1 +HIDE_OC_LOGS=$2 + # avoid port collision on jenkins - use $EXECUTOR_NUMBER if [ -z "$EXECUTOR_NUMBER" ]; then EXECUTOR_NUMBER=0 @@ -27,7 +30,9 @@ RESULT=$? kill $PHPPID kill $PHPPID_FED -tail "../../data/owncloud.log" +if [ -z $HIDE_OC_LOGS ]; then + tail "../../data/owncloud.log" +fi exit $RESULT |