This is an automated email from the ASF dual-hosted git repository.
drazzib pushed a commit to branch GORA-675
in repository https://gitbox.apache.org/repos/asf/gora.git
The following commit(s) were added to refs/heads/GORA-675 by this push:
new ed309e0 Jenkinsfile: include Code Quality
ed309e0 is described below
commit ed309e02f755ce6a5e0f01a9836e42446e050d69
Author: Damien Raude-Morvan <[email protected]>
AuthorDate: Mon Apr 19 22:04:50 2021 +0200
Jenkinsfile: include Code Quality
---
Jenkinsfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index f4211b5..df06dd7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -107,10 +107,9 @@ pipeline {
stage('Code Quality') {
steps {
echo 'Checking Code Quality on SonarCloud'
- def sonarcloudParams = "${SONARCLOUD_PARAMS}
-Dsonar.branch.name=${BRANCH_NAME}"
// 'drazzib-sonarcloud-token' needs to be defined for this job
and contains the user token
withCredentials([string(credentialsId:
'drazzib-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
- sh "mvn sonar:sonar ${sonarcloudParams}"
+ sh "mvn sonar:sonar ${SONARCLOUD_PARAMS}
-Dsonar.branch.name=${BRANCH_NAME}"
}
}
}