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

orpiske pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 3f46c16c1971efe792edcfe66a7b33ca572419fb
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Jun 15 09:35:05 2022 +0200

    (chores) ci: force the branch name to avoid overwriting analysis in the 
main branch
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2bb7238d7ee..c31eb43409c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -88,7 +88,7 @@ pipeline {
         stage('Code Quality Review') {
             steps {
                 withCredentials([string(credentialsId: 'apache-camel-core', 
variable: 'SONAR_TOKEN')]) {
-                        sh "./mvnw $MAVEN_PARAMS 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache 
-Dsonar.projectKey=apache_camel 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"
+                    sh "./mvnw $MAVEN_PARAMS 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache 
-Dsonar.projectKey=apache_camel -Dsonar.branch.name=$BRANCH_NAME 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"
                 }
             }
         }

Reply via email to