camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject [camel] 02/02: CAMEL-11930: no need to run the assembly
Date Fri, 23 Mar 2018 08:53:17 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit fdc44a1c1787f82e868a795146daab7ca37c22ee
Author: Zoran Regvart <zregvart@apache.org>
AuthorDate: Fri Mar 23 09:52:57 2018 +0100

    CAMEL-11930: no need to run the assembly
    
    In CI we don't need to run assembly at all, this makes this apply to all
    Maven invocations in the pipeline.
---
 Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b32bb8d..a34301d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,7 +21,7 @@ def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?: '/home/jenkins/jenkins-slave/mave
 def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
 def JDK_NAME = env.JDK_NAME ?: 'JDK 1.8 (latest)'
 
-def MAVEN_PARAMS = "-U -B -e -fae -V -Dmaven.repo.local=${LOCAL_REPOSITORY} -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2"
+def MAVEN_PARAMS = "-U -B -e -fae -V -Dmaven.repo.local=${LOCAL_REPOSITORY} -Dnoassembly
-Dmaven.compiler.fork=true -Dsurefire.rerunFailingTestsCount=2"
 
 pipeline {
 
@@ -47,7 +47,7 @@ pipeline {
                 branch 'master'
             }
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dnoassembly -Dmaven.test.skip.exec=true clean deploy"
+                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean deploy"
             }
         }
 
@@ -58,7 +58,7 @@ pipeline {
                 }
             }
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dnoassembly -Dmaven.test.skip.exec=true clean install"
+                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean install"
             }
         }
 
@@ -75,7 +75,7 @@ pipeline {
 
         stage('Test') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dnoassembly -Dmaven.test.failure.ignore=true test"
+                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test"
             }
             post {
                 always {

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

Mime
View raw message