Is the statuses/build API available from Bitbucket Server or Bitbucket Data Center

Is the statuses/build API supported on Bitbucket Server or Bitbucket Data Center?

1 answer

1 accepted

1 votes

An equivalent API is available for both Bitbucket Server and Bitbucket Data Center https://developer.atlassian.com/static/rest/bitbucket-server/4.4.1/bitbucket-build-rest.html

Thanks for the very quick reply. I have a follow up question. I see the equivalent Server API doesn't have a spot for a particular repo or team, does this mean that this status will be applied to any any commit on the server with that hash regardless of it's location?

Yes, that is correct. If you have a specific usecase where this would be inappropriate I would love to hear more about it.

No don't I have a use case for it, other than potentially running two build systems on different forks (potentially one of the build systems would be under test). However, I think can be accomplished by having different keys in the POST.  The only issue would be cluttering up a production repo with status updates from a non production build system. I don't think this is a real issue. Thanks again for your help.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

678 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot