diff --git a/Jenkinsfile b/Jenkinsfile
index 13307c90f..1a833f8fa 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 399c0b7a1..cc588cff2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,9 @@
1.9
- https://builds.apache.org/analysis/
+ apache_struts
+ apache
+ https://sonarcloud.io
apps/**