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