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

Make bitbucket ignore bamboo build result from particular build plan?

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 ?

1 answer

1 accepted

1 vote
Answer accepted
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 24, 2019

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 Steffen,

 

In par with above example, What if we still have the requirement of performing any task say (source code check out, build, sonar) in auxillary plan Y and need to ignore  the build results of plan Y ?

 

Can we do that in bamboo

Like Steffen Opel _Utoolity_ likes this
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 04, 2022

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)?

Good luck,
Steffen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events