From 177c6541061e5685980e9c1bd361079dc66eb1fa Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 10 Sep 2019 11:39:16 +0200 Subject: [PATCH] Add PHP output to artifact Do not clutter stdout in web ui. Instead move PHP output to a file and add this one to artifacts. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6555746..6e5e7c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ test:acceptance: - export LOCAL_IP=$(ip a | grep inet | sed -n 2p | xargs | cut -d" " -f2 | cut -d"/" -f1) - export TESTING_DOMAIN="$LOCAL_IP:8080" - export TYPO3_CONTEXT=Testing/Acceptance - - php -S "$TESTING_DOMAIN" -t web & + - php -S "$TESTING_DOMAIN" -t web &> php.log.txt & script: - ./vendor/bin/codecept run --env=gitlab-ci artifacts: @@ -44,3 +44,4 @@ test:acceptance: expire_in: 10 mins paths: - tests/_output/ + - php.log.txt