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

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

commit 65fcfc81c0f826f02014ed6e1babcb61c8599f5d
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Mon Feb 19 10:53:33 2018 +0100

    CAMEL-11930: incremental build experiment
    
    Uses Maven Incremental Module Builder[1] to perform build of only
    changed modules in order to speed up the build.
    
    [1] https://github.com/khmarbaise/incremental-module-builder
---
 .mvn/extensions.xml | 8 ++++++++
 Jenkinsfile         | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
new file mode 100644
index 0000000..2dde4fc
--- /dev/null
+++ b/.mvn/extensions.xml
@@ -0,0 +1,8 @@
+<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 
http://maven.apache.org/xsd/core-extensions-1.0.0.xsd";>
+  <extension>
+    <groupId>com.soebes.maven.extensions</groupId>
+    <artifactId>incremental-module-builder</artifactId>
+    <version>0.2.0</version>
+  </extension>
+</extensions>
diff --git a/Jenkinsfile b/Jenkinsfile
index bb21de7..5a61c0e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -53,13 +53,13 @@ pipeline {
 
         stage('Build') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dnoassembly 
-Dmaven.test.skip.exec=true -Dmaven.install.skip=true clean install"
+                sh "./mvnw $MAVEN_PARAMS -Dnoassembly 
-Dmaven.test.skip.exec=true -Dmaven.install.skip=true incremental clean install"
             }
         }
 
         stage('Test') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Pintegration -Dnoassembly 
-Dmaven.test.failure.ignore=true test"
+                sh "./mvnw $MAVEN_PARAMS -Pintegration -Dnoassembly 
-Dmaven.test.failure.ignore=true incremental test"
             }
             post {
                 always {

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

Reply via email to