[JIRA] (JENKINS-56740) Artifacts bigger than 5GB can't be uploaded to S3

5 views
Skip to first unread message

bozaro@yandex.ru (JIRA)

unread,
Mar 25, 2019, 7:54:02 AM3/25/19
to jenkinsc...@googlegroups.com
Artem V. Navrotskiy created an issue
 
Jenkins / Bug JENKINS-56740
Artifacts bigger than 5GB can't be uploaded to S3
Issue Type: Bug Bug
Assignee: Unassigned
Components: artifact-manager-s3-plugin
Created: 2019-03-25 11:53
Priority: Critical Critical
Reporter: Artem V. Navrotskiy

Unfortunately S3 have 5GB limit for single operation upload object: https://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html

  • Upload objects in a single operation—With a single PUT operation, you can upload objects up to 5 GB in size.
  • Upload objects in parts—Using the multipart upload API, you can upload large objects, up to 5 TB.

This plugin don't implement multipart upload and can't upload big files to S3.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Mar 27, 2019, 12:44:02 PM3/27/19
to jenkinsc...@googlegroups.com
Jesse Glick started work on Bug JENKINS-56740
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

unread,
Mar 27, 2019, 12:44:02 PM3/27/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Mar 27, 2019, 12:44:03 PM3/27/19
to jenkinsc...@googlegroups.com

d.stanhope@qsrinternational.com (JIRA)

unread,
Oct 2, 2019, 12:46:02 AM10/2/19
to jenkinsc...@googlegroups.com
D Stanhope commented on Bug JENKINS-56740
 
Re: Artifacts bigger than 5GB can't be uploaded to S3

I quite like this plugin, and have also run into this issue.
For now, I have coded a PowerShell script I can call like a function, using Write-S3Object (Which auto-detects file size and uses multi-part upload as necessary) to upload a file or folder.
If this is useful to others I'm happy to post it here.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

carlos@barcenilla.com.ar (JIRA)

unread,
Jan 2, 2020, 7:29:02 AM1/2/20
to jenkinsc...@googlegroups.com

D Stanhope Could you share the details of your PowerShell workaround?

d.stanhope@qsrinternational.com (JIRA)

unread,
Jan 6, 2020, 2:15:03 AM1/6/20
to jenkinsc...@googlegroups.com
D Stanhope updated an issue
 
Change By: D Stanhope
Attachment: Copy-ToAwsS3.psm1

d.stanhope@qsrinternational.com (JIRA)

unread,
Jan 6, 2020, 2:20:02 AM1/6/20
to jenkinsc...@googlegroups.com
D Stanhope commented on Bug JENKINS-56740
 
Re: Artifacts bigger than 5GB can't be uploaded to S3

Here's a generalised version:

Copy-ToAwsS3.psm1

Documentation is in the file.
Note that you'll probably want to find a different way of handling credentials than what that file implements, or at least switch to using PowerShell Secure Strings

Hope that helps!

Reply all
Reply to author
Forward
0 new messages