Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,555,206
Community Members
 
Community Events
184
Community Groups

Delete/Pass an In-progress build in bitbucket which is already deleted from Jenkins pipeline.

Sumnesh Lakhiwal
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!
May 07, 2023

Hi All,

I had a build in Jenkins for example #732. The build got successful in Jenkins but Jenkins unable to notify bitbucket due to some network issue. 

Now, in bitbucket, that build(#732) is still going on and on and showing in progress. Due to which I am not able to merge my other changes to the branch because on each new PR raised the bicbucket is picking the same failed build (#732) and expecting to be successful. Since we are showing only last 5 builds in the Jenkins list and remove the older builds from the list, the build #732 is not availale now.

 

In the above scenario, is there any way to delete the in progress (#732) build from bitbucket?

 

I tried below URL to resolve it. But it would create a new buid with the respective commit id, but not doing anything related to stucking build, the build #732 in my case.

https://developer.atlassian.com/server/bitbucket/how-tos/updating-build-status-for-commits/

 

Please help.

1 answer

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 08, 2023

Hi @Sumnesh Lakhiwal 

The given URL will help you mark the build as successful.

Are you sure you've used the same key and same commit?

You can use this API to fetch the builds for a specific commit: https://developer.atlassian.com/server/bitbucket/rest/v810/api-group-builds-and-deployments/#api-api-latest-projects-projectkey-repos-repositoryslug-commits-commitid-builds-get 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events