This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit b9b53bb6e1ce8d667eb924f03ab87b1bc34d1b2c
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Aug 9 09:13:54 2019 +0200

    - Continued working on the Jenkinsfile
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7219921..8baf5df 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -39,7 +39,7 @@ pipeline {
         // Test failures will be handled by the jenkins junit steps and mark 
the build as unstable.
         MVN_TEST_FAIL_IGNORE = '-Dmaven.test.failure.ignore=true'
 
-        sonarcloudParams="-Dsonar.host.url=https://sonarcloud.io 
-Dsonar.organization=apache -Dsonar.projectKey=apache_plc4x 
-Dsonar.branch.name=develop"
+        SONARCLOUD_PARAMS = "-Dsonar.host.url=https://sonarcloud.io 
-Dsonar.organization=apache -Dsonar.projectKey=apache_plc4x 
-Dsonar.branch.name=develop"
     }
 
     tools {
@@ -128,7 +128,7 @@ pipeline {
             steps {
                 echo 'Checking Code Quality on SonarCloud'
                 withCredentials([string(credentialsId: 
'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
-                    sh 'mvn 
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies 
sonar:sonar ${sonarcloudParams}'
+                    sh 'mvn 
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies 
sonar:sonar ${SONARCLOUD_PARAMS}'
                 }
             }
         }

Reply via email to