public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Henning Schild <henning.schild@siemens.com>
Subject: [PATCH v2 2/2] CI: export avocado junit as gitlab report
Date: Wed, 20 Oct 2021 13:03:41 +0300	[thread overview]
Message-ID: <1634724221-26372-2-git-send-email-amikan@ilbers.de> (raw)
In-Reply-To: <1634724221-26372-1-git-send-email-amikan@ilbers.de>

From: Henning Schild <henning.schild@siemens.com>

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>
---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fad4210..1693a8a 100644
--- a/.gitlab-ci.yml
+++ b/.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:
-- 
2.7.4


  reply	other threads:[~2021-10-20 10:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20 10:03 [PATCH v2 1/2] CI: install avocado in venv if host does not have it Anton Mikanovich
2021-10-20 10:03 ` Anton Mikanovich [this message]
2021-10-20 16:11   ` [PATCH v2 2/2] CI: export avocado junit as gitlab report Anton Mikanovich
2021-10-20 10:10 ` [PATCH v2 1/2] CI: install avocado in venv if host does not have it Anton Mikanovich
2021-10-20 16:10 ` Anton Mikanovich
2021-10-20 16:32   ` Henning Schild
2021-10-20 16:38     ` Henning Schild
2021-10-21 10:39       ` Baurzhan Ismagulov
2021-10-21 15:20         ` Henning Schild

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1634724221-26372-2-git-send-email-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox