diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf55d8a..c9fb8b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ default: image: maven:3-amazoncorretto-17-alpine stages: - #- pull - build - on_commit - sonarcloud_scan @@ -13,7 +12,7 @@ variables: SONAR_HOST_URL: $SONAR_HOST_URL SONAR_PROJECT_KEY: "ths6435116_CloudflareDNS-java" SONAR_ORGANIZATION: "ths6435116" - SONAR_TOKEN: $SONAR_TOKEN # Ensure this token is correctly set in GitLab CI/CD variables + SONAR_TOKEN: $SONAR_TOKEN SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task API_EMAIL: $API_EMAIL