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 30ecd8aa73d More small fixes 30ecd8aa73d is described below commit 30ecd8aa73d3a4008f7b3217a891b17b52c77be2 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Fri Apr 5 13:56:48 2024 +0200 More small fixes --- Jenkinsfile.matrix.platform | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile.matrix.platform b/Jenkinsfile.matrix.platform index e15563043e4..c7074046dfc 100644 --- a/Jenkinsfile.matrix.platform +++ b/Jenkinsfile.matrix.platform @@ -105,18 +105,11 @@ pipeline { } stage('Build & Install') { - /*when { - branch 'main' - }*/ steps { echo "Do Build for ${PLATFORM}-${JDK_NAME}" sh 'java -version' - script { - if(${PLATFORM} == "ubuntu"){ - sh "./mvnw -U $MAVEN_PARAMS -Dskip.camel.maven.plugin.tests -Darchetype.test.skip -Dmaven.test.skip.exec=true clean install" - } else { - sh "./mvnw -U $MAVEN_PARAMS -Dskip.camel.maven.plugin.tests -Dquickly clean install" - } + steps { + sh "./mvnw -U $MAVEN_PARAMS -Dskip.camel.maven.plugin.tests -Darchetype.test.skip -Dmaven.test.skip.exec=true clean install" } } } @@ -124,10 +117,15 @@ pipeline { stage('Code Quality Review') { steps { script { - if("${PLATFORM}" == "ubuntu") { + 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" + /* + * 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" + */ + echo "Code quality review ENABLED for ${PLATFORM}" } + } else { + echo "Code quality review disabled for ${PLATFORM}" } } } @@ -139,7 +137,7 @@ pipeline { sh 'java -version' timeout(unit: 'HOURS', time: 7) { script { - if(${PLATFORM} == "ubuntu"){ + if (${PLATFORM} == "ubuntu"){ if(${JDK_NAME} == "jdk_21_latest") { sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS_UBUNTU -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -Dcamel.threads.virtual.enabled=${params.VIRTUAL_THREAD}" } else{