Преглед изворни кода

CI: export avocado junit as gitlab report

Having the artifact as "report" makes sure we get nice rendering in the
gitlab web UI. For that to really work we want the artifacts no matter what
the return will be.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Henning Schild пре 3 година
родитељ
комит
919fc995fc
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      .gitlab-ci.yml

+ 4 - 1
.gitlab-ci.yml

@@ -16,7 +16,10 @@ variables:
     paths:
       - build/tmp/work/*/*/*/temp
       - build/job-results
-    when: on_failure
+    reports:
+      junit:
+        - build/job-results/job*/results.xml
+    when: always
     expire_in: 1 week
 
 fast-ci: