So we have a build pipeline that builds a Linux kernel, and we use Microsoft Teams for project files. The artifact we end up with is 1.3GB, which is over the 1GB limit to be available in the pipeline GUI. We'd like to put the file into the Teams folder the project team is using, which leverages OneDrive on the backend. Has anyone had luck getting files from Bitbucket over to OneDrive? Or even uploading files from a linux container or build server to OneDrive programmatically?
Hey Phil!
Whilst Bitbucket Cloud does not formally support OneDrive, and providing assistance with scripting is outside of our support scope, here are some possible things that you can try:
pipelines:
default:
- step:
script:
- apt-get update
- apt-get -qq install zip curl
- mkdir $FOLDERNAME
- cp folderpath/filepath.extension $FOLDERNAME/
- zip -r $FOLDERNAME.zip $FOLDERNAME/
- curl INSERTAPICOMMANDHERE
Hope this helps to steer you in the right direction.
Cheers!
- Ben (Bitbucket Cloud Support
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.