Treat a Task failure as a warning

I have a series of Tasks associated with a Job. And I have a series of Jobs associated with a Plan.

When a build kicks off for the Plan should one of the Tasks in a Job fail I would like to have the option to treat the failure as a warning, display the Build as yellow on the dashboard, and have Bamboo continue on to the next Job.


Real world example -

  1. Job to build .NET solution.
  2. Job to run unit tests.
  3. Job to deploy to development server.

If #2 fails, I want to know by looking at the Dashboard but I also want Bamboo to continue on to #3.

2 answers

Why can't we make a task no fail the build but maybe add a badge or something...

Also, if a project has no tests why does it fail? For example, when a project starts or at some point they are disabled... doesn't make sense to fail build or to change the plan.

We have a situation with a similar requirement albeit a different context. As part of the deployment process for our app, we want to undeploy the app from a remote Tomcat. This frees up database connections so we can drop and re-create the app database.

I have two alternatives here:

  • Stop Tomcat itself
  • Stop and undeploy the app via the Tomcat manager app

I've been unable to stop and start Tomcat via ssh because I can't get sudo access that way. I can undeploy the app via the manager app assuming that the app is installed. But if it's not installed (which can happen when there's a problem with the code or app configuration) that whole task fails and the build fails with it.

But frankly I don't CARE! If it fails to undeploy, that means that the app's not even there and therefore not locking database sessions and I can proceed. But to Bamboo it seems all failures are created equally and require the entire build process to abort. That seems very inflexible and frankly useless to me.

I see it's been a year since the original inquiry with no Atlassian response. So does that mean I'm hosed?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,813 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you