From 3bcb0bc547911bc08bd56f462d74159c0d4831da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com>
Date: Wed, 23 Feb 2022 11:13:59 +0000
Subject: [PATCH] fix(artifacts): always publish test artifacts

---
 templates/gitlab-ci-maven.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml
index 481511a..2f043c3 100644
--- a/templates/gitlab-ci-maven.yml
+++ b/templates/gitlab-ci-maven.yml
@@ -469,6 +469,7 @@ mvn-build:
   artifacts:
     name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
     expire_in: 1 day
+    when: always
     reports:
       junit:
         - "**/target/*-reports/TEST-*.xml"
-- 
GitLab