diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml
index 481511a6dd20a51a91ce1c0dcaf31bb8d3b369d3..2f043c32d4520b9c2d84005a30215385fa1490a6 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"