This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push: new 90001a9 Moves Sonar config into pom.xml 90001a9 is described below commit 90001a98dd06a54d5817d7f5799c36949a319825 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Mon Dec 20 07:58:35 2021 +0100 Moves Sonar config into pom.xml --- Jenkinsfile | 2 +- pom.xml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13307c9..1a833f8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}' } } } diff --git a/pom.xml b/pom.xml index 399c0b7..cc588cf 100644 --- a/pom.xml +++ b/pom.xml @@ -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>