You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi Atlassian community,
i have a repo, the repo has two build plans X and Y.
X is the normal build plan which tells me that the build for the repo is successful. I want this reflected in bitbucket pull requests.
Y is a small task that runs every 15 minutes and is not related to the build status of the repo.
My problem is that if a PR for the repo is raised and Y is run and succeeds, it looks as if the PR has been successfully built.
How can I ignore the build status from Y ?
I'm not aware of any way to configure Bitbucket to ignore particular Bamboo build results.
That being said, the build status API for both Bitbucket Server and Bitbucket Cloud are based on associating the build status against a particular commit, so in case your auxiliary plan Y does not actually use the resp. source code, you might be able to achieve your goal by removing the Source Code Checkout task within that plan.
Hi @Nagomi , welcome to the Atlassian Community!
I haven't tried this and am just brainstorming here, but given "the build status APIs [...] are based on associating the build status against a particular commit", maybe you could forego the source code check out in plan Y and pass the source code from plan X as a Bamboo artifact instead (i.e. you can zip the source code, maybe even git archive works)?