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

rec pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/uima-build-jenkins-shared-library.git


The following commit(s) were added to refs/heads/main by this push:
     new 00d789e  [UIMA-6457] Clean Jenkins workspace up after build
00d789e is described below

commit 00d789ef82cfc04ec9c7723633a8b46def57cc4e
Author: Richard Eckart de Castilho <[email protected]>
AuthorDate: Mon May 30 11:06:11 2022 +0200

    [UIMA-6457] Clean Jenkins workspace up after build
    
    - Clean only on success
---
 vars/defaultPipeline.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/defaultPipeline.groovy b/vars/defaultPipeline.groovy
index 8d77305..b5647b6 100644
--- a/vars/defaultPipeline.groovy
+++ b/vars/defaultPipeline.groovy
@@ -161,7 +161,7 @@ def call(body) {
           }
           
           post {
-            always {
+            success {
               script {
                 if (params.wipeWorkspaceAfterBuild) {
                   echo "Wiping workspace..."

Reply via email to