From 28f8d172371de237e64ef18ac63a14d08fa31f0d Mon Sep 17 00:00:00 2001 From: Lars Simon Winzer Date: Fri, 13 Mar 2026 22:36:23 +0100 Subject: [PATCH] Ci: Attach checkstyle report as job artifact --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d134405..184e9e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,5 +6,12 @@ checkstyle: image: gradle:9.3.1-jdk25 script: - gradle checkstyleMain checkstyleTest + artifacts: + when: always + paths: + - build/reports/checkstyle/main.html + - build/reports/checkstyle/test.html + expose_as: 'Checkstyle Report' + expire_in: 1 week rules: - when: manual