-
Bug
-
Resolution: Duplicate
-
Major
-
Jenkins 2.121.1
artifact-manager-s3-plugin 1.0-beta-2
When multibranch project contains branch with forward slash in the name (for example `feature/foobar`) corresponding Job gets name `feature%2Ffoobar` from multibranch pipeline plugin.
artifact-manager-s3 plugin later uses this name to generate object key:
https://github.com/jenkinsci/artifact-manager-s3-plugin/blob/master/src/main/java/io/jenkins/plugins/artifact_manager_jclouds/JCloudsArtifactManager.java#L98
As a result generated artifact will be placed in directory hierarchy like this:
projectname/feature%2Ffoobar/1/artifacts/example.txt
However when we try to download this artifact via http url
https://bucketname.s3.amazonaws.com/projectname/feature%2Ffoobar/1/artifacts/example.txt
%2F will be converted to forward slash by browser and request fails with NoSuchKey error from AWS.
When branch name doesn't contain forward slash everything works as expected
- duplicates
-
JENKINS-50591 Files and paths with ampersand cause exception
-
- Resolved
-
- links to
[JENKINS-52151] Forward slash in branch name makes artifact inaccessible
Remote Link | New: This issue links to "CloudBees-internal issue (Web Link)" [ 21109 ] |
Labels | New: multibranch | |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Assignee | New: Jesse Glick [ jglick ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link |
New:
This issue duplicates |
Remote Link | New: This issue links to "PR 70 (Web Link)" [ 21163 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |
Remote Link | New: This issue links to "artifact-manager-s3 PR 78 (Web Link)" [ 21419 ] |