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

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


The following commit(s) were added to refs/heads/devel-camel-20383 by this push:
     new cd2e1e38bb2 More small fixes
cd2e1e38bb2 is described below

commit cd2e1e38bb24cbb093c9d10832547258d8f14967
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Fri Apr 5 13:41:46 2024 +0200

    More small fixes
---
 Jenkinsfile.matrix.platform | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile.matrix.platform b/Jenkinsfile.matrix.platform
index e9d517f8583..e15563043e4 100644
--- a/Jenkinsfile.matrix.platform
+++ b/Jenkinsfile.matrix.platform
@@ -122,9 +122,9 @@ pipeline {
                     }
 
                     stage('Code Quality Review') {
-                        script {
-                            if("${PLATFORM}" == "ubuntu") {
-                                steps {
+                        steps {
+                            script {
+                                if("${PLATFORM}" == "ubuntu") {
                                     withCredentials([string(credentialsId: 
'apache-camel-core', variable: 'SONAR_TOKEN')]) {
                                         sh "./mvnw $MAVEN_PARAMS 
-Dsonar.host.url=https://sonarcloud.io 
-Dsonar.java.experimental.batchModeSizeInKB=2048 -Dsonar.organization=apache 
-Dsonar.projectKey=apache_camel -Dsonar.branch.name=$BRANCH_NAME 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"
                                     }

Reply via email to