pipeline-aws-plugin
pipeline-aws-plugin copied to clipboard
When downloading, Should the force option always erase the path?
Add options that don't keep the parent path of the source path.
s3Download(file:'targetFolder/', bucket:'my-bucket', path:'path/to/sourceFolder/', force:true) In this case, isn't it non-intuitive to erase all the files at targetFolder/*, not just the 'targetFolder/path/to/SourceForlder/' ?
And It's more unix-like to copy to 'targetFolder/' than to copy to 'targetFolder/path/to/sourceFolder/' It is not easy to collect directories from different source Folders. Please let me know if there are any other limitations.
Upstream changes
No response