From 13b8a9f908a7a50fc1a5170bb59aef83523c32b3 Mon Sep 17 00:00:00 2001
From: Joze RIHTARSIC <joze.RIHTARSIC@ext.ec.europa.eu>
Date: Thu, 13 Oct 2022 15:00:24 +0200
Subject: [PATCH] update gitlab CI file

---
 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7d668481..8cc9b2fdc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -113,6 +113,10 @@ code-coverage-visualization:
     - build-maven-job
 
   artifacts:
+    when: always
+    expire_in: 1 week
+    paths:
+      - "target/site"
     reports:
       coverage_report:
         coverage_format: cobertura
@@ -176,6 +180,7 @@ test-soapui-weblogic-oracle-job:
 
 test-ui-tomcat-mysql-sml-job:
   stage: test-ui  # It only runs when *both* test jobs in the test stage complete successfully.
+  allow_failure: true
   needs: ["test-soapui-tomcat-mysql-sml-job"]
   script:
     - echo "Deploying application..."
@@ -187,5 +192,5 @@ test-ui-tomcat-mysql-sml-job:
     expire_in: 1 week
     name: "ui-report"
     paths:
-      - target/*
+      - "*/testng-results.xml"
 
-- 
GitLab