Jelajahi Sumber

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 tahun lalu
induk
melakukan
919fc995fc
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  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: