diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-06 17:29:39 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-29 13:42:32 +0200 |
commit | db0a8aa795710d94f88f3c036983992792dd4191 (patch) | |
tree | 48981c3d8dea2f4cfa13b978e58b6ebb8b838063 /build/integration/run.sh | |
parent | 925aa6c0f51aac3f9a256aee431c708f33230f42 (diff) | |
download | nextcloud-server-db0a8aa795710d94f88f3c036983992792dd4191.tar.gz nextcloud-server-db0a8aa795710d94f88f3c036983992792dd4191.zip |
Use fixed port for now
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-x | build/integration/run.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh index 40afbe85b9b..baf31b411c4 100755 --- a/build/integration/run.sh +++ b/build/integration/run.sh @@ -3,16 +3,17 @@ composer install # TODO: avoid port collision on jenkins - use $EXECUTOR_NUMBER -if [ -z "$EXECUTOR_NUMBER" ]; then - EXECUTOR_NUMBER=0 -fi -PORT=$((8080 + $EXECUTOR_NUMBER)) +#if [ -z "$EXECUTOR_NUMBER" ]; then +# EXECUTOR_NUMBER=0 +#fi +#PORT=$((8080 + $EXECUTOR_NUMBER)) +PORT=8080 echo $PORT php -S localhost:$PORT -t ../.. & PHPPID=$! echo $PHPPID -export BEHAT_PARAMS="context[parameters][base_url]=http://localhost:$PORT/ocs" +#export BEHAT_PARAMS="context[parameters][base_url]=http://localhost:$PORT/ocs" vendor/bin/behat kill $PHPPID |