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

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new 341a8f20e Cleans remote before uploading new packages
341a8f20e is described below

commit 341a8f20e07a7517939a981198daf3e1898dd055
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Sun Nov 6 11:13:26 2022 +0100

    Cleans remote before uploading new packages
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5737be6b1..1a5c56c20 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -168,7 +168,8 @@ pipeline {
                         sshTransfer(
                             remoteDirectory: '/struts/snapshot',
                             removePrefix: 'assembly/target/assembly/out',
-                            sourceFiles: 
'assembly/target/assembly/out/struts-*.zip'
+                            sourceFiles: 
'assembly/target/assembly/out/struts-*.zip',
+                            cleanRemote: true
                         )
                     ],
                     verbose: true

Reply via email to