You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/02/12 15:19:28 UTC

[camel] branch master updated: Lets try to fix the master build on CI by running on Checks and Test (through clean install)

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 290154d  Lets try to fix the master build on CI by running on Checks and Test (through clean install)
290154d is described below

commit 290154d1d17743137810a8204b57392e201ba8c9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 12 16:18:33 2019 +0100

    Lets try to fix the master build on CI by running on Checks and Test (through clean install)
---
 Jenkinsfile | 22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a34301d..ab00845 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -42,26 +42,6 @@ pipeline {
 
     stages {
 
-        stage('Build & Deploy') {
-            when {
-                branch 'master'
-            }
-            steps {
-                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean deploy"
-            }
-        }
-
-        stage('Build') {
-            when {
-                not {
-                    branch 'master'
-                }
-            }
-            steps {
-                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean install"
-            }
-        }
-
         stage('Checks') {
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Psourcecheck -Dcheckstyle.failOnViolation=false checkstyle:check"
@@ -75,7 +55,7 @@ pipeline {
 
         stage('Test') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true test"
+                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true clean install"
             }
             post {
                 always {