Controlled arguments for run script
This commit is contained in:
parent
5750a85e84
commit
48a91164e5
1 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
|
SCENARIO_TO_RUN=$1
|
||||||
|
HIDE_OC_LOGS=$2
|
||||||
|
|
||||||
# avoid port collision on jenkins - use $EXECUTOR_NUMBER
|
# avoid port collision on jenkins - use $EXECUTOR_NUMBER
|
||||||
if [ -z "$EXECUTOR_NUMBER" ]; then
|
if [ -z "$EXECUTOR_NUMBER" ]; then
|
||||||
EXECUTOR_NUMBER=0
|
EXECUTOR_NUMBER=0
|
||||||
|
@ -27,7 +30,9 @@ RESULT=$?
|
||||||
kill $PHPPID
|
kill $PHPPID
|
||||||
kill $PHPPID_FED
|
kill $PHPPID_FED
|
||||||
|
|
||||||
tail "../../data/owncloud.log"
|
if [ -z $HIDE_OC_LOGS ]; then
|
||||||
|
tail "../../data/owncloud.log"
|
||||||
|
fi
|
||||||
|
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue