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,552,624
Community Members
 
Community Events
184
Community Groups

How do I run just a single stage of a build?

I originally asked the question on Stack Overflow, but I think I can get a better answer here. Here's the original question:

http://stackoverflow.com/questions/10459130/how-do-i-run-just-a-single-stage-in-my-bamboo-build

I have a bamboo build with 2 stages: Build&Test and Publish. The way bamboo works, if Build&Test fails, Publish is not run. This is usually the way that I want things.

However, sometimes, Build&Test will fail, but I still want Publish to run. Typically, this is a manual process where even though there is a failing test, I want to push a button so that I can just run the Publish stage.

In the past, I had two separate plans, but I want to keep them together as one. Is this possible?

2 answers

1 accepted

0 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 05, 2012

Short answer: no. If you want to run a stage, all prior stages have to finish successfully, sorry.

What you could do is to use the Quarantine functionality, but that involves re-running the failed job (in yet-unreleased Bamboo 4.1, you may have to press "Show more" on the build result screen to see the re-run button).

Another thing that could be helpful in such situation (but not for OP) is disabling jobs.

It looks like we are running Bamboo 3.4.4. So, I guess I would be best off moving back to my old situation where I had build&test and publish in separate plans. Thanks for your answer.

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 05, 2012

Or, upgrade to Bamboo 4.0 (just making sure you did not think that Quarantine is only available with 4.1).

Wish I could, but not my decision. :)

Thanks for the reply. Unfortunately, it wasn't what I wanted to hear. I split the two stages into separate plans with a parent/child dependency and it is working as I want again.

Can we add this functionality? This is pretty critical for our push towards Continuous Delivery. For instance, it would be great to use a Bamboo stage for deployments. If I have a Deploy stage, I can use it to deploy any build at any time for that product, and then I could leverage Bamboo's built-in logging and fail/success notifications.

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2013

Bamboo 5 may have what you want, Beta should be out soon: http://blogs.atlassian.com/2013/04/beta-program-atlassian-bamboo/

This functionality would also be great to have for testing. If I change only a later stage, I do not need to rerun all previous stages.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events