From 54812c1447ce2bdfb2e43ecff23e4f5d3be9a01e Mon Sep 17 00:00:00 2001
From: Stefan Ruehl <stefan.ruehl@h-da.de>
Date: Mon, 11 Jun 2018 14:11:17 +0200
Subject: [PATCH] update artifacts of tasks

---
 .gitlab-ci.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0df7ac1..262bd96 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,34 +18,38 @@ checkstyle_main:
   stage: check
   script:
     - ./gradlew check checkstyleMain
+    - cp build/reports/checkstyle/main.html ./checkstyleMain.html
   artifacts:
     paths:
-    - build/reports/checkstyle/main.html
+    - checkstyleMain.html
     expire_in: 1 week
 
 checkstyle_test:
   stage: check
   script:
     - ./gradlew check checkstyleTest
+    - cp build/reports/checkstyle/test.html ./checkstyleTest.html
   artifacts:
     paths:
-    - build/reports/checkstyle/test.html
+    - checkstyleTest.html
     expire_in: 1 week
 
 spotbugs_main:
   stage: check
   script:
     - ./gradlew check spotbugsMain 
+    - cp build/reports/spotbugs/main.html ./spotbugsMain.html
   artifacts:
     paths:
-    - build/reports/spotbugs/main.html
+    - spotbugsMain.html
     expire_in: 1 week
 
 spotbugs_test:
   stage: check
   script:
     - ./gradlew check spotbugsTest
+    - cp build/reports/spotbugs/test.html ./spotbugsTest.html
   artifacts:
     paths:
-    - build/reports/spotbugs/test.html
+    - spotbugsTest.html
     expire_in: 1 week
-- 
GitLab