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 a1d907e  Jenkinsfile fixed pipeline
a1d907e is described below

commit a1d907edd1387b2ebfd19da54e9a8445d0f25f4b
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 6 09:20:20 2020 +0200

    Jenkinsfile fixed pipeline
---
 Jenkinsfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a477877..d361221 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,14 +43,14 @@ pipeline {
         disableConcurrentBuilds()
     }
 
-    pre { 
-        always { 
-            cleanWs()
-        }
-    }
-
     stages {
 
+        stage('Cleanup workspace') {
+            steps {
+                cleanWs()
+            }
+        }
+
         stage('Build & Deploy') {
             when {
                 branch 'master'

Reply via email to