mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1507] jenkins master mount s3fs, jenkins slave run job task and archiveArtifacts artifacts error #790
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#790
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @guoqingdeng on GitHub (Dec 30, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1507
My computer is an Ubuntu16.04 system, and install s3fs by the document way.
The following scene:
On my Jenkins master server, aws s3 is mounted through s3fs, and it can be mounted successfully.
Configure a Jenkins slave node server, run Jenkins job in the slave node server, and finally archive product,through the product archiving instructions in the Jenkins pipeline ,eg: archiveArtifacts artifacts.But in the archived product, an error is reported,by checking the error message, I learned that the spliced s3 http url is wrong and lacks bucket.
Error information:
ERROR: Failed to upload /home/jenkins/workspace/test_patches/src/test_interface/build/libs/test-interface-1.0.1.44.jar to https://s3.cn-northwest-1.amazonaws.com.cn/test_interface/44/artifacts/src/test_interface/build/libs/test-interface-1.0.1.44.jar?…, response: 404 Not Found, body:
NoSuchBucketThe specified bucket does not existtest_patches9354EE4114171E59JDHCVei34KruXsXztoP52YY1NKJPfyJXl9OM+mn7OXsHb8Ucfzz+YWe0fiPF8uvtrjvZC3TBiYc=Error path:
https://s3.cn-northwest-1.amazonaws.com.cn/test_interface/44/artifacts/src/test_interface/build/libs/test-interface-1.0.1.44.jar
S3 Document:
https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#virtual-hosted-style-access
The rest api methods supported by s3 are as follows:
1.Path-Style Requests (Update (September 23, 2020)-We decided to postpone the deprecation of path-based URLs)
https://s3.Region.amazonaws.com/bucket-name/key name
2.Virtual Hosted-Style Requests
https://bucket-name.s3.Region.amazonaws.com/key name
So, the s3 rest http url generated by s3fs splicing is wrong,and how can i fix it?