How to upload files to onedrive from azure pipeline?

%3CLINGO-SUB%20id%3D%22lingo-sub-2807940%22%20slang%3D%22en-US%22%3EHow%20to%20upload%20files%20to%20onedrive%20from%20azure%20pipeline%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2807940%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20use%20jenkins%20for%20our%20CI%2FCD%20and%20upload%20the%20files%20at%20the%20end%20to%20onedrive%20for%20business%20shared%20folders%20at%20the%20end%20of%20pipeline%20in%20jenkins.%3C%2FP%3E%3CP%3EFor%20that%20we%20use%20onedrive%20client%20for%20linux.Because%20official%20linux%20client%20is%20not%20available.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fabraunegg.github.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fabraunegg.github.io%2F%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fabraunegg%2Fonedrive%2Fblob%2Fmaster%2Fdocs%2FINSTALL.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fabraunegg%2Fonedrive%2Fblob%2Fmaster%2Fdocs%2FINSTALL.md%3C%2FA%3E%3C%2FP%3E%3CP%3EFor%20windows%20nodes%2C%20we%20use%20onedrive%20client%20for%20windows%20and%20copy%20to%20the%20synced%20folders%20at%20the%20end%20of%20pipeline.%3C%2FP%3E%3CP%3EHow%20to%20achieve%20this%20part%20(uploading%20files%20to%20onedrive)%20instead%20of%20%22publish%20to%20artifacts%22%20section%20in%20the%20azure%20pipeline.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20posted%20%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fquestions%2F574906%2Fhow-to-upload-files-to-onedrive-from-azure-pipelin.html%3FchildToView%3D575755%23answer-575755%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fquestions%2F574906%2Fhow-to-upload-files-to-onedrive-from-azure-pipelin.html%3FchildToView%3D575755%23answer-575755%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20%3C%2FA%3Equestion%20earlier%20and%20they%20redirected%20me%20here%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2807940%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevOps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

We use jenkins for our CI/CD and upload the files at the end to onedrive for business shared folders at the end of pipeline in jenkins.

For that we use onedrive client for linux.Because official linux client is not available.

https://abraunegg.github.io/
https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md

For windows nodes, we use onedrive client for windows and copy to the synced folders at the end of pipeline.

How to achieve this part (uploading files to onedrive) instead of "publish to artifacts" section in the azure pipeline.

 

I posted this question earlier and they redirected me here

0 Replies