This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch bugfix/update-sonar-maven-plugin
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git

commit f9b6c38a5edcc2f616e793a7a19e5d0ff31c8956
Author: Konrad Windszus <[email protected]>
AuthorDate: Wed Oct 18 11:00:50 2023 +0200

    Update sonar-maven-plugin to 3.10
    
    Release notes:
    
https://sonarsource.atlassian.net/browse/MSONAR-199?jql=project%20%3D%2010140%20AND%20fixVersion%20%3D%2012662
    
    Maven4 compatibility established
---
 vars/slingOsgiBundleBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 51187bf..e1ac737 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -263,7 +263,7 @@ def analyseWithSonarCloud(def globalConfig, def jobConfig) {
     } else if ( isOnMainBranch() ) {
         sonarcloudParams="${sonarcloudParams} 
-Dsonar.branch.name=${BRANCH_NAME}"
     }
-    static final String SONAR_PLUGIN_GAV = 
'org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184'
+    static final String SONAR_PLUGIN_GAV = 
'org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594'
     // Alls params are set, let's execute using #withCrendentials to hide and 
mask Robert's token
     withCredentials([string(credentialsId: 'sonarcloud-token-rombert', 
variable: 'SONAR_TOKEN')]) {
         // always build with Java 17 (that is the minimum version supported: 
https://docs.sonarcloud.io/appendices/scanner-environment/)

Reply via email to