You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/02/01 08:31:26 UTC

[camel] branch main updated: Revert "(chores) ci: prevent failures to analyze code from blocking test execution"

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 27eacdb5243 Revert "(chores) ci: prevent failures to analyze code from blocking test execution"
27eacdb5243 is described below

commit 27eacdb5243c861c4ad4e847dfda6e08ca0a732b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Feb 1 09:31:08 2023 +0100

    Revert "(chores) ci: prevent failures to analyze code from blocking test execution"
    
    This reverts commit d314503c2f8cf10656df1edaf9c552f1b1e68b6d.
---
 Jenkinsfile.jdk17 | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Jenkinsfile.jdk17 b/Jenkinsfile.jdk17
index 373d30a87c0..5d7400ee6db 100644
--- a/Jenkinsfile.jdk17
+++ b/Jenkinsfile.jdk17
@@ -74,11 +74,7 @@ pipeline {
         stage('Code Quality Review') {
             steps {
                 withCredentials([string(credentialsId: 'apache-camel-core', variable: 'SONAR_TOKEN')]) {
-                    try {
-                        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"
-                    } catch (err) {
-                        echo "Failed to perform code quality review: ${err}"
-                    }
+                    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"
                 }
             }
         }