mirror of
https://github.com/apache/struts.git
synced 2026-08-05 14:47:09 +00:00
Moves Sonar config into pom.xml
This commit is contained in:
Vendored
+1
-1
@@ -94,7 +94,7 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
withCredentials([string(credentialsId: 'asf-struts-sonarcloud', variable: 'SONARCLOUD_TOKEN')]) {
|
||||
sh 'mvn sonar:sonar -DskipAssembly -Dsonar.projectKey=apache_struts -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONARCLOUD_TOKEN}'
|
||||
sh 'mvn sonar:sonar -DskipAssembly -Dsonar.login=${SONARCLOUD_TOKEN}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,7 +123,9 @@
|
||||
<fluido-skin.version>1.9</fluido-skin.version>
|
||||
|
||||
<!-- Sonar -->
|
||||
<sonar.host.url>https://builds.apache.org/analysis/</sonar.host.url>
|
||||
<sonar.projectKey>apache_struts</sonar.projectKey>
|
||||
<sonar.organization>apache</sonar.organization>
|
||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||
<sonar.exclusions>apps/**</sonar.exclusions>
|
||||
</properties>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user