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 2020/10/09 06:54:29 UTC

[camel-kafka-connector] branch j-clean-1 created (now 8bb6048)

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

acosentino pushed a change to branch j-clean-1
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git.


      at 8bb6048  Jenkinsfile.jdk11: Added a clean stage to the pipeline

This branch includes the following new commits:

     new 14bd0aa  Jenkinsfile: Add a clean stage to the pipeline
     new 8bb6048  Jenkinsfile.jdk11: Added a clean stage to the pipeline

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kafka-connector] 02/02: Jenkinsfile.jdk11: Added a clean stage to the pipeline

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch j-clean-1
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 8bb60484796a9615fbda5a457fe2d7a63ebbdd2b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 9 08:51:20 2020 +0200

    Jenkinsfile.jdk11: Added a clean stage to the pipeline
---
 Jenkinsfile.jdk11 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.jdk11 b/Jenkinsfile.jdk11
index 62e8235..5e87d46 100644
--- a/Jenkinsfile.jdk11
+++ b/Jenkinsfile.jdk11
@@ -43,8 +43,21 @@ pipeline {
         disableConcurrentBuilds()
     }
 
+    parameters {
+        booleanParam(name: 'CLEAN', defaultValue: true, description: 'Perform the build in clean workspace')
+    }
+
     stages {
 
+        stage('Clean workspace') {
+             when {
+                 expression { params.CLEAN }
+             }
+             steps {
+                 sh 'git clean -fdx'
+           }
+        }
+
         stage('Build & Deploy') {
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean install"


[camel-kafka-connector] 01/02: Jenkinsfile: Add a clean stage to the pipeline

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch j-clean-1
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 14bd0aaa27a1b82c99ce64a7173d6755a8f18298
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 9 08:50:45 2020 +0200

    Jenkinsfile: Add a clean stage to the pipeline
---
 Jenkinsfile | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6c4b833..db0ab91 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,8 +43,21 @@ pipeline {
         disableConcurrentBuilds()
     }
 
+    parameters {
+        booleanParam(name: 'CLEAN', defaultValue: true, description: 'Perform the build in clean workspace')
+    }
+
     stages {
 
+        stage('Clean workspace') {
+             when {
+                 expression { params.CLEAN }
+             }
+             steps {
+                 sh 'git clean -fdx'
+           }
+        }
+
         stage('Build & Deploy') {
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean"