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 d314503c2f8 (chores) ci: prevent failures to analyze code from blocking test execution d314503c2f8 is described below commit d314503c2f8cf10656df1edaf9c552f1b1e68b6d Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Tue Jan 31 16:12:42 2023 +0100 (chores) ci: prevent failures to analyze code from blocking test execution --- Jenkinsfile.jdk17 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile.jdk17 b/Jenkinsfile.jdk17 index 5d7400ee6db..373d30a87c0 100644 --- a/Jenkinsfile.jdk17 +++ b/Jenkinsfile.jdk17 @@ -74,7 +74,11 @@ 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.java.experimental.batchModeSizeInKB=2048 -Dsonar.organization=apache -Dsonar.projectKey=apache_camel -Dsonar.branch.name=$BRANCH_NAME org.sonarsource.scanner.maven:sonar-maven-plugin:sonar" + 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}" + } } } }