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

Accepted Answer
1 vote

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 Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,365 views 9 12
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