wip
This commit is contained in:
+4
-1
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user