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


The following commit(s) were added to refs/heads/develop by this push:
     new fe7b11d  - Continued working on the Jenkinsfile
fe7b11d is described below

commit fe7b11d2699f650831792172b614c67e6718b290
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Aug 9 14:08:49 2019 +0200

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

diff --git a/Jenkinsfile b/Jenkinsfile
index 14f5db1..2039844 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -102,8 +102,8 @@ pipeline {
             steps {
                 echo 'Checking Code Quality on SonarCloud'
                 withCredentials([string(credentialsId: 
'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
-                    sh 'echo mvn 
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies 
sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN} -Dsonar.password='
-                    sh 'mvn 
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies 
sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN} -Dsonar.password='
+                    sh 'echo ${SONAR_TOKEN} | wc -c'
+                    sh 'mvn 
-P${JENKINS_PROFILE},with-boost,with-java,with-dotnet,with-python,with-proxies 
sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
                 }
             }
         }

Reply via email to