Includes apps in code Coverage scan

This commit is contained in:
Lukasz Lenart
2022-11-02 11:54:35 +01:00
parent 79a84a8f02
commit 054f1f4cdb
2 changed files with 1 additions and 5 deletions
Vendored
+1 -1
View File
@@ -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'
}
}
}
-4
View File
@@ -129,7 +129,6 @@
<sonar.projectKey>apache_struts</sonar.projectKey>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.exclusions>apps/**</sonar.exclusions>
<argLine>-Duser.language=en -Duser.country=US -Duser.region=US</argLine>
</properties>
@@ -211,9 +210,6 @@
</profile>
<profile>
<id>coverage</id>
<properties>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<build>
<plugins>
<plugin>