From 154bb3498071d7a2db9116ed3c2dc94f14a7174b Mon Sep 17 00:00:00 2001 From: Alex Morel <2834-amorel@users.noreply.gitlab.nuiton.org> Date: Mon, 17 Jun 2024 12:56:09 +0000 Subject: [PATCH] Update .gitlab-ci.yml to wire sonar --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7932a6331..281c4c6746 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,20 @@ +include: + - project: men/action24/ci-templates + file: sonarqube.yml + +variables: + A24_SONAR_PROJECT_KEY: com.amorel.scimkeycloak + SONAR_HOST_URL: https://qa.codelutin.com + +stages: + - package + - test + - sonar + package: image: name: gradle:jdk11 + stage: package script: - gradle jar shadowjar - gradle -b legacy-build.gradle shadowjar