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 9faaa28  - Continued working on the Jenkinsfile
9faaa28 is described below

commit 9faaa282dd71149cf6d37a41ca326afcd1e252ea
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Aug 9 14:14:27 2019 +0200

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

diff --git a/Jenkinsfile b/Jenkinsfile
index 2039844..e17c113 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -95,19 +95,6 @@ pipeline {
             }
         }
 
-        stage('Code Quality') {
-            when {
-                branch 'develop'
-            }
-            steps {
-                echo 'Checking Code Quality on SonarCloud'
-                withCredentials([string(credentialsId: 
'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
-                    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}'
-                }
-            }
-        }
-
         stage('Build develop') {
             when {
                 branch 'develop'
@@ -121,7 +108,8 @@ pipeline {
 
                 // We'll deploy to a relative directory so we can save
                 // that and deploy in a later step on a different node
-                sh 'mvn -U 
-P${JENKINS_PROFILE},development,with-boost,with-java,with-dotnet,with-cpp,with-python,with-proxies,with-sandbox
 ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} 
-DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir 
clean deploy'
+                //sh 'mvn -U 
-P${JENKINS_PROFILE},development,with-boost,with-java,with-dotnet,with-cpp,with-python,with-proxies,with-sandbox
 ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} 
-DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir 
clean deploy'
+                sh 'mvn -U 
-P${JENKINS_PROFILE},with-java,with-proxies,with-sandbox -DskipTests 
${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} 
-DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir 
clean deploy'
 
                 // Stash the build results so we can deploy them on another 
node
                 stash name: 'plc4x-build-snapshots', includes: 
'local-snapshots-dir/**'
@@ -134,6 +122,18 @@ pipeline {
             }
         }
 
+        stage('Code Quality') {
+            when {
+                branch 'develop'
+            }
+            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 ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
+                }
+            }
+        }
+
         stage('Deploy') {
             when {
                 branch 'develop'

Reply via email to