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

zregvart pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.21.x by this push:
     new 351dc7f  CAMEL-11930: rework deployment to ASF repository
351dc7f is described below

commit 351dc7fdcd8a9de2f6e72044a7921ddde0900dad
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Wed Mar 21 10:05:50 2018 +0100

    CAMEL-11930: rework deployment to ASF repository
    
    Now the pipeline builds and deploys from the same stage.
    
    (cherry picked from commit cf64d67679aa9a280a5247660249b0999be0c9b6)
---
 Jenkinsfile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 3c220e6..49d3b40 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,9 +38,9 @@ pipeline {
 
     stages {
 
-        stage('Build') {
+        stage('Build & Deploy') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dnoassembly 
-Dmaven.test.skip.exec=true clean install"
+                sh "./mvnw $MAVEN_PARAMS -Dnoassembly 
-Dmaven.test.skip.exec=true clean deploy"
             }
         }
 
@@ -67,11 +67,6 @@ pipeline {
             }
         }
 
-        stage('Deploy') {
-            steps {
-                sh "./mvnw $MAVEN_PARAMS -Pdeploy -Dnoassembly 
-Dmaven.test.skip.exec=true install"
-            }
-        }
     }
 
     post {

-- 
To stop receiving notification emails like this one, please contact
zregv...@apache.org.

Reply via email to