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

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b5cb63  always cleanWs
4b5cb63 is described below

commit 4b5cb63739d8c4af9daf8783fef82226e2847860
Author: Olivier Lamy <[email protected]>
AuthorDate: Sat Dec 29 09:31:56 2018 +1000

    always cleanWs
---
 Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 31b0776..949aee1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -75,6 +75,9 @@ pipeline {
     }
 
     post {
+        always {
+            cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: 
'.repository', type: 'EXCLUDE']]
+        }    
         unstable {
             notifyBuild("Unstable Build")
         }

Reply via email to