aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/run.sh
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-08-06 17:29:39 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-29 13:42:32 +0200
commitdb0a8aa795710d94f88f3c036983992792dd4191 (patch)
tree48981c3d8dea2f4cfa13b978e58b6ebb8b838063 /build/integration/run.sh
parent925aa6c0f51aac3f9a256aee431c708f33230f42 (diff)
downloadnextcloud-server-db0a8aa795710d94f88f3c036983992792dd4191.tar.gz
nextcloud-server-db0a8aa795710d94f88f3c036983992792dd4191.zip
Use fixed port for now
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-xbuild/integration/run.sh11
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