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 bfa62b3  Jenkinsfile: Clean workspace as post step
bfa62b3 is described below

commit bfa62b390c619e2d68c4e4a5a480c0f057cc4b1f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 6 09:24:35 2020 +0200

    Jenkinsfile: Clean workspace as post step
---
 Jenkinsfile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index d361221..c1b102b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,12 +45,6 @@ pipeline {
 
     stages {
 
-        stage('Cleanup workspace') {
-            steps {
-                cleanWs()
-            }
-        }
-
         stage('Build & Deploy') {
             when {
                 branch 'master'
@@ -104,6 +98,7 @@ pipeline {
                 body: '${DEFAULT_CONTENT}',
                 recipientProviders: [[$class: 'CulpritsRecipientProvider']]
             )
+            cleanWs()
         }
     }
 }

Reply via email to