Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

John Macdonald
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2021

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
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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
AUG Leaders

Atlassian Community Events