Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Uploading Bitbucket pipeline artifacts to sharepoint


I've been searching for a way to upload the pipeline artifacts to SharePoint using the SharePoint API. However, I could not find anything about how to do that from bitbucket side. The artifacts are already being deployed and can be found in the download section. In the Atlassian support it says " there is a way to send your artifacts to 3rd-party storage and create a link in your commit view, using the Bitbucket build status API." But the link they have provided does not provide a clear approach.

How can I use these artifacts and upload that to the SharePoint or any 3rd party storage?

1 answer

0 votes

Hi @yashoda.chandrasekara and welcome to the community.

Have you tried using a Sharepoint API call during the Pipelines build?

You can edit the bitbucket-pipelines.yml file and either create a new step that executes this API call or add the API call in one of the steps where these artifacts are available.

If you need to authenticate in order to execute the API call, you can define variables for any passwords/tokens (and make them "Secured" so they won't be visible in the Pipelines log) and use them in the API call.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,478 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you