diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36b643c..d362a7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,9 +55,10 @@ test:sytest: - "mkdir -p /work/server-0/database/ && mkdir -p /work/server-1/database/ && mkdir -p /work/server-2/database/" - "cd /" script: - - "/bootstrap.sh conduit" - after_script: - - "perl ./sytest/tap-to-junit-xml.pl --input /logs/results.tap --output /sytest.xml" + - "SYTEST_EXIT_CODE=0" + - "/bootstrap.sh conduit || SYTEST_EXIT_CODE=1" + - "perl /sytest/tap-to-junit-xml.pl --input /logs/results.tap --output /sytest.xml" + - "exit $SYTEST_EXIT_CODE" artifacts: when: always paths: