You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/04/01 11:15:56 UTC
[sling-tooling-jenkins] branch master updated: SLING-8262 - Add
SonarQube analysis to Jenkins jobs
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git
The following commit(s) were added to refs/heads/master by this push:
new b943376 SLING-8262 - Add SonarQube analysis to Jenkins jobs
b943376 is described below
commit b9433760975418251a4df9cd42b187cbbf8285e3
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon Apr 1 13:15:36 2019 +0200
SLING-8262 - Add SonarQube analysis to Jenkins jobs
Use the token name as stored on Jenkins.
---
vars/slingOsgiBundleBuild.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index f76c9c1..67db6f5 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -73,7 +73,7 @@ def call(Map params = [:]) {
sonarcloudParams="${sonarcloudParams} -Dsonar.branch.name=${BRANCH_NAME}"
}
// Alls params are set, let's execute using #withCrendentials to hide and mask Robert's token
- withCredentials([string(credentialsId: 'robert_token', variable: 'SONAR_TOKEN')]) {
+ withCredentials([string(credentialsId: 'sonarcloud-token-rombert', variable: 'SONAR_TOKEN')]) {
def mvnCmd = "mvn -U clean verify sonar:sonar ${sonarcloudParams}"
sh mvnCmd
}