This is an automated email from the ASF dual-hosted git repository.
mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 8df46ca989 [NO-JIRA] Enable sonar cloud analysis
8df46ca989 is described below
commit 8df46ca9891c79ab43065989737c8e3e904acc83
Author: Matt Pavlovich <[email protected]>
AuthorDate: Tue Oct 1 10:21:23 2024 -0500
[NO-JIRA] Enable sonar cloud analysis
---
Jenkinsfile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 760bf9c6c7..d511364738 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -160,8 +160,11 @@ pipeline {
stage('Quality') {
when { expression { return params.sonarEnabled } }
+
steps {
+ withCredentials([string(credentialsId: 'SONARCLOUD_TOKEN',
variable: 'SONAR_TOKEN')]) {
sh 'echo "Running the Sonar stage"'
+ sh 'mvn -B -e -fae clean verify sonar:sonar
-Dsonar.projectKey=apache_activemq -Dsonar.organization=apache
-Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONAR_TOKEN}
-Dsurefire.rerunFailingTestsCount=3'
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact