Add pipeline step for analyzing code

This commit is contained in:
Manuel Thalmann 2023-10-17 16:53:29 +02:00
parent 0f3e789b6f
commit 1eaf91fc22

View file

@ -34,6 +34,14 @@ test:
junit:
- "**/target/surefire-reports/TEST-*.xml"
check:
stage: build
image: markhobson/maven-chrome:jdk-18
script:
- *setup-mvn
- ./mvnw clean compile
- ./mvnw sonar:sonar -Dsonar.projectKey=$SONAR_PROJECT -Dsonar.projectName=$SONAR_PROJECT -Dsonar.host.url=$SONAR_URL -Dsonar.token=$SONAR_TOKEN
build:
stage: build
image: maven:3.8.6-openjdk-18