Commit 80e8f787 authored by Ben Huber's avatar Ben Huber

print buildlog in codeCoverage CI independent of build success (while preserving exit status)

parent f120d2ce
Pipeline #1220 failed with stages
in 15 minutes and 35 seconds
......@@ -35,7 +35,7 @@ job_test_gcc_nocheck:
job_code_coverage:
stage: code_coverage
script: "g++ --version; cp .gitlab-ci-configs/.config.mk.ci.cc config.mk; mkdir -p build; make test &> build/build_output.txt; tail -n 500 build/build_output.txt"
script: "g++ --version; cp .gitlab-ci-configs/.config.mk.ci.cc config.mk; mkdir -p build; make test &> build/build_output.txt || { tail -n 500 build/build_output.txt && false; }; tail -n 500 build/build_output.txt"
when: always
artifacts:
expire_in: 3h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment