diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0df7ac1eeba2a2c77e84277882bb8903ae37f860..262bd96062b57d11e8c6ba764449055f65b1a6c2 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