Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,123
Community Members
 
Community Events
165
Community Groups

How to manage/manipulate/edit/replace the build link in a PR

Is there a method to add a link, or manipulate the link that shows up as the build link in a PR?

Currently, our system uses Jenkins integration to generates this build and link.  We'd like to add a second link to a separate build repository. 

1 answer

0 votes
seanaty Atlassian Team Sep 16, 2021

All build statuses are ultimately created buy calling this API https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bcommit%7D/statuses/build

Depending on what integration you're using, they'll ask for some type of credentials to be able to fetch your code as well as post build statuses to this API.

Bitbucket pipelines/Jenkins/Bamboo would all use this API.

You may have as many build statuses per commit. 

Hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

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