diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2aa47b..e2b2dc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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