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 2022/01/06 21:48:12 UTC

[camel] branch main updated: INFRA-22694: added support for analyzing the Camel source from Apache CI

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 29e31b2  INFRA-22694: added support for analyzing the Camel source from Apache CI
29e31b2 is described below

commit 29e31b265e242a999d6ecb5100adb13e6b87dd4f
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Thu Jan 6 22:43:06 2022 +0100

    INFRA-22694: added support for analyzing the Camel source from Apache CI
---
 Jenkinsfile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8b32852..c257699 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -73,6 +73,14 @@ 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"
+                }
+            }
+        }
+
         stage('Test') {
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true clean install"