From 054f1f4cdbdaaf5e0c9c31897692086fab5e0440 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 2 Nov 2022 11:54:35 +0100 Subject: [PATCH] Includes apps in code Coverage scan --- Jenkinsfile | 2 +- pom.xml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2adf56ac9..1f0fe858a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -94,7 +94,7 @@ pipeline { } steps { withCredentials([string(credentialsId: 'asf-struts-sonarcloud', variable: 'SONARCLOUD_TOKEN')]) { - sh './mvnw -B -Pcoverage -DskipAssembly -Dsonar.login=${SONARCLOUD_TOKEN} sonar:sonar' + sh './mvnw -B -Pcoverage -DskipAssembly -Dsonar.login=${SONARCLOUD_TOKEN} verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar' } } } diff --git a/pom.xml b/pom.xml index 5a8fa9af7..a555d664c 100644 --- a/pom.xml +++ b/pom.xml @@ -129,7 +129,6 @@ apache_struts ${project.artifactId} https://sonarcloud.io - apps/** -Duser.language=en -Duser.country=US -Duser.region=US @@ -211,9 +210,6 @@ coverage - - https://sonarcloud.io -