-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error to upload files to Azure blob storage #209
Comments
Hi guys, is there any idea why is it not uploading large zip files? |
Facing the same issue , anyone having solution or alternative ? |
Hello @JonathanKayumbo , I used another solution that calls Azcopy. |
Thanks , I could also use az cli to perform that but i was looking for a Jenkins plugin , that way i do not have to install azCopy or az clie on Agents |
If you can provide a reproduce-able case from scratch e.g. a pipeline I can take a look. IIRC last I checked this I couldn't reproduce |
Okay, great
I also found this link while trying to understand the max file size of the azure blob block on the add API call, maybe has something to do with this issue Thanks for your time |
Can you provide a self contained example that doesn't require your artifactory please. generating a file with (verifying that it works to reproduce the issue for you?) |
I think I understand now why upload of a large file does not work, the reason is the API blob put request as per the Azure storage account version I'm using only support a chunky file size of 256MB ( ANY FILE SIZE BELOW 256MB works ) According to that documentation, the newer version will support up to 5000MBi Thank you for you help though |
It certainly works for bigger, I've been able to upload files of up to 1gb before. |
Okay, so going back to our example above, here is a self-contained example, does this work for you? Or how would you modify the
|
Version report
Jenkins and plugins versions report:
Jenkins version: 2.303.3
Azure AD Plugin - 185.v3b416408dcb1
Azure Artifact Manager plugin - 97.v074e1332e88d
Azure CLI Plugin - 0.9
Azure Credentials - 198.vf9c2fdfde55c
Azure SDK API Plugin - 70.v63f6a95999a7
Azure Storage plugin - 365.vf41653c43b01
Azure VM Agents - 799.va4c741108611
Windows server 2019 (only master)
Reproduction steps
Upload large files (1GB +)
Build config:
azureUpload blobProperties: [contentLanguage: 'en-US'], containerName: 'testproject', filesPath: '**/Deploy/*.zip, **/Deploy/*.txt', storageCredentialId: 'TestUploadArtifactsAzure', storageType: 'blobstorage', virtualPath: '${P4_CHANGELIST}'
Results
Expected result:
Upload files to Azure blob storage
Actual result:
The text was updated successfully, but these errors were encountered: