diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6317e4d..a659b9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,8 +13,8 @@ variables: GITLAB_USERNAME: $GITLAB_USERNAME GITLAB_USEREMAIL: GITLAB_USEREMAIL SONAR_HOST_URL: $SONAR_HOST_URL - SONAR_PROJECT_KEY: "thischwa_CloudflareDNS-java" - SONAR_ORGANIZATION: "thischwa" + SONAR_PROJECT_KEY: "th-schwarz_CloudflareDNS-java" + SONAR_ORGANIZATION: "th-schwarz" SONAR_TOKEN: $SONAR_TOKEN SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task @@ -68,7 +68,7 @@ sonarcloud_scan: dependencies: - build script: - - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=${SONAR_PROJECT_KEY} only: - merge_requests - develop