-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
The S3 plugin currently uploads a file with the key set equal to the base filename that is returned by the matcher.
I would like to upload files with a key of the path that is returned by the matcher, i.e. if I have a matcher of 'el/**', and several files underneath, I would like to see the following keys in the S3 bucket:
el/noarch/file1.txt
el/some/path/file2.c
el/some/other/path/file3.java
el/afile
el/readme
and so on.
[JENKINS-16025] Allow full path when uploading a file
Assignee | Original: Michael Watt [ mikewatt ] | New: David Beer [ dmbeer ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Code changed in jenkins
User: Craig Kapp
Path:
src/main/java/hudson/plugins/s3/S3BucketPublisher.java
src/main/java/hudson/plugins/s3/S3Profile.java
http://jenkins-ci.org/commit/s3-plugin/24a3b88a7b9acb0532deabe686944e53747c49a9
Log:
JENKINS-16025 - Fixed issue where all files go to the root of the bucket. Now we apply the relative path inside the bucket.