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 7a86e85f3d [NO-JIRA] Jenkinsfile syntax fix for sonar
7a86e85f3d is described below
commit 7a86e85f3d9dda89ddf1d653119cbf2cbe52eb67
Author: Matt Pavlovich <[email protected]>
AuthorDate: Tue Oct 1 10:26:40 2024 -0500
[NO-JIRA] Jenkinsfile syntax fix for sonar
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index d511364738..90b478dea3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -162,7 +162,7 @@ pipeline {
when { expression { return params.sonarEnabled } }
steps {
- withCredentials([string(credentialsId: 'SONARCLOUD_TOKEN',
variable: 'SONAR_TOKEN')]) {
+ 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