From e3cf2838cf01f9bc7a2e05c0866635e51f3dc2ec Mon Sep 17 00:00:00 2001 From: Stian Lyng <stianlyng@protonmail.com> Date: Wed, 3 May 2023 11:53:58 +0200 Subject: [PATCH] add prepare:agent --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20efe174..f787fd50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ maven-build: run-tests: stage: test script: - - mvn test + - mvn jacoco:prepare-agent test jacoco:report verify deploy-jar: stage: deploy @@ -28,11 +28,10 @@ deploy-jar: jacoco-report: stage: pages script: - - mvn jacoco:report - mkdir public - cp -r target/site/jacoco public/ artifacts: paths: - public only: - - main \ No newline at end of file + - master \ No newline at end of file -- GitLab