diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6f7569..8c468aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,11 +16,14 @@ variables: SONAR_TOKEN: $SONAR_TOKEN # Ensure this token is correctly set in GitLab CI/CD variables 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 + API_KEY: $API_KEY + API_TOKEN: $API_TOKEN build: stage: build script: - - mvn clean package -DskipTests + - mvn clean package artifacts: paths: - target/