瀏覽代碼

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: