From 28c78023b5e4f6857ec1ca5e6b110c3b5b306759 Mon Sep 17 00:00:00 2001 From: Jamie McClymont Date: Thu, 3 Jan 2019 14:21:01 +1300 Subject: [PATCH] Keep Apache logs as CI artifacts for debugging failures --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b41432f8..78732f02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,7 @@ test: artifacts: paths: - testing/report.xml + - apache2_log/* reports: junit: testing/report.xml when: @@ -68,4 +69,5 @@ test: - apache2ctl start - useradd testrunner - cd testing && su testrunner -c 'IS_CI=yes ALLSUITES="regression-suite binding carddav scheduling" ./run_regressions.sh all x' - + after_script: + - cp -r /var/log/apache2 apache2_log