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:23:36 UTC
[camel-spring-boot] 02/04: Jenkinsfile.sb.jdk11: Lets clean the
workspace as default
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch Jenkinsfile.clean
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit bb5dae841a89f92f6a273b5aef03ddc65e946d7f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 08:19:01 2020 +0200
Jenkinsfile.sb.jdk11: Lets clean the workspace as default
---
Jenkinsfile.sb.jdk11 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Jenkinsfile.sb.jdk11 b/Jenkinsfile.sb.jdk11
index 9104dd6..b94df52 100644
--- a/Jenkinsfile.sb.jdk11
+++ b/Jenkinsfile.sb.jdk11
@@ -52,6 +52,15 @@ pipeline {
stages {
+ stage('Clean workspace') {
+ when {
+ expression { params.CLEAN }
+ }
+ steps {
+ sh 'git clean -fdx'
+ }
+ }
+
stage('Build') {
steps {
script {