Add pipeline step for analyzing code
This commit is contained in:
parent
0f3e789b6f
commit
1eaf91fc22
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue