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 6b9e45a66df (chores) ci: enable sonarcloud analyzis for the CI build
6b9e45a66df is described below
commit 6b9e45a66df2338adb6ab97ae3629307e2282276
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Apr 22 17:04:44 2024 +0200
(chores) ci: enable sonarcloud analyzis for the CI build
---
Jenkinsfile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5b3c4e2238c..ba9bee45240 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -114,10 +114,8 @@ pipeline {
script {
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"
- */
echo "Code quality review ENABLED for
${PLATFORM}"
+ 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"
}
} else {
echo "Code quality review disabled for
${PLATFORM}"