From a3b94684255edb786f64c7b2168179885e882fdd Mon Sep 17 00:00:00 2001 From: Marcel Feix Date: Fri, 15 Oct 2021 12:48:28 +0000 Subject: [PATCH] chore(tool-sonar7) Add missing $MAVEN_CLI_OPTS to Sonar. --- tool-sonar7.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool-sonar7.gitlab-ci.yml b/tool-sonar7.gitlab-ci.yml index 3ddf48b..f1e6873 100644 --- a/tool-sonar7.gitlab-ci.yml +++ b/tool-sonar7.gitlab-ci.yml @@ -6,9 +6,9 @@ SONAR_PROJECT_KEY: "" SONAR_EXCLUSIONS: "**/target/**,**/src/test/**" script: - - mvn test sonar:sonar + - mvn $MAVEN_CLI_OPTS test sonar:sonar "-Dsonar.host.url=$SONAR_HOST_URL" "-Dsonar.login=$SONAR_TOKEN" "-Dsonar.projectKey=$SONAR_PROJECT_KEY" "-Dsonar.exclusions=$SONAR_EXCLUSIONS" - - sonar-break-build \ No newline at end of file + - sonar-break-build