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/08 06:02:28 UTC

[camel-karaf] branch Jenksinsfile-clean created (now 1e73e5f)

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

acosentino pushed a change to branch Jenksinsfile-clean
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git.


      at 1e73e5f  Jenkinsfile.karaf.jdk14: Lets clean the workspace as default

This branch includes the following new commits:

     new 279eaaf  Jenkinsfile.karaf: Lets clean the workspace as default
     new f98b6f2  Jenkinsfile.karaf.jdk11: Lets clean the workspace as default
     new 1e73e5f  Jenkinsfile.karaf.jdk14: Lets clean the workspace as default

The 3 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-karaf] 02/03: Jenkinsfile.karaf.jdk11: Lets clean the workspace as default

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

acosentino pushed a commit to branch Jenksinsfile-clean
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit f98b6f298f33b9363b2757414beb06b16b20ac3f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 08:00:47 2020 +0200

    Jenkinsfile.karaf.jdk11: Lets clean the workspace as default
---
 Jenkinsfile.karaf.jdk11 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.karaf.jdk11 b/Jenkinsfile.karaf.jdk11
index 79d43de..ebed834 100644
--- a/Jenkinsfile.karaf.jdk11
+++ b/Jenkinsfile.karaf.jdk11
@@ -50,8 +50,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') {
             steps {
                 script {


[camel-karaf] 01/03: Jenkinsfile.karaf: Lets clean the workspace as default

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

acosentino pushed a commit to branch Jenksinsfile-clean
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit 279eaafd028773bc96bc8a12ac7c033ab06cec6b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 08:00:15 2020 +0200

    Jenkinsfile.karaf: Lets clean the workspace as default
---
 Jenkinsfile.karaf | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.karaf b/Jenkinsfile.karaf
index 60e40c5..02ca554 100644
--- a/Jenkinsfile.karaf
+++ b/Jenkinsfile.karaf
@@ -50,8 +50,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') {
             steps {
                 script {


[camel-karaf] 03/03: Jenkinsfile.karaf.jdk14: Lets clean the workspace as default

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

acosentino pushed a commit to branch Jenksinsfile-clean
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit 1e73e5fc9ed7955cb4bf86208805fdf8cd90d3c2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 08:01:31 2020 +0200

    Jenkinsfile.karaf.jdk14: Lets clean the workspace as default
---
 Jenkinsfile.karaf.jdk14 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.karaf.jdk14 b/Jenkinsfile.karaf.jdk14
index cbf0c4c..c392858 100644
--- a/Jenkinsfile.karaf.jdk14
+++ b/Jenkinsfile.karaf.jdk14
@@ -50,8 +50,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') {
             steps {
                 script {