summaryrefslogtreecommitdiffstats
path: root/.gitlab/artifacts.yml
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-05-01 18:05:18 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-06-30 15:56:05 (GMT)
commitcb5c03ed04488d9976f0afaee59e901050c82c82 (patch)
tree05f8d41d18fc578868dffd0686db8d24165d7324 /.gitlab/artifacts.yml
parent722270ff502522ed88b14a48263f335939b0acac (diff)
downloadCMake-cb5c03ed04488d9976f0afaee59e901050c82c82.zip
CMake-cb5c03ed04488d9976f0afaee59e901050c82c82.tar.gz
CMake-cb5c03ed04488d9976f0afaee59e901050c82c82.tar.bz2
gitlab-ci: upload JUnit reports for builds
GitLab can render test results which come from JUnit files and inform which tests have started failing on an MR.
Diffstat (limited to '.gitlab/artifacts.yml')
-rw-r--r--.gitlab/artifacts.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab/artifacts.yml b/.gitlab/artifacts.yml
index edd313f..45e4c5b 100644
--- a/.gitlab/artifacts.yml
+++ b/.gitlab/artifacts.yml
@@ -82,11 +82,22 @@
- build/cmake-*.tar.gz
- build/cmake-*.zip
+.cmake_junit_artifacts:
+ artifacts:
+ expire_in: 1d
+ when: always
+ reports:
+ junit:
+ - build/junit.xml
+
.cmake_test_artifacts:
artifacts:
expire_in: 1d
# External testing can be useful even if test jobs fail.
when: always
+ reports:
+ junit:
+ - build/junit.xml
paths:
# Take the install tree.
- build/install/