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 6a1a79c658 [NO-JIRA] Jenkinsfile sonar credentials fix
6a1a79c658 is described below
commit 6a1a79c658565c63f248c6e55b2f8cd7e5ab8aa4
Author: Matt Pavlovich <[email protected]>
AuthorDate: Tue Oct 1 11:07:37 2024 -0500
[NO-JIRA] Jenkinsfile sonar credentials fix
---
Jenkinsfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 90b478dea3..a994662a76 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -162,9 +162,10 @@ pipeline {
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'
+ 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