From d2199e69924da13866e7cc1b2301b520b3b65525 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson <alexander.olofsson@liu.se> Date: Mon, 5 Dec 2022 10:45:24 +0100 Subject: [PATCH] Retrieve rubocop result as junit for CI --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3110d3..0cb0398 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,10 @@ before_script: rubocop: script: - - bundle exec rubocop + - bundle exec rubocop lib/ -f p -f ju -o junit.xml + artifacts: + reports: + junit: junit.xml pages: before_script: [] -- GitLab