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/06/15 09:42:37 UTC
[camel] 01/02: 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 camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c1dc85a74cea160beb571c9fa6b50d7a233b6f99
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 f9bf4447c8a..2bb7238d7ee 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -85,6 +85,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"