Actions that can be performed on bamboo build fail

Deepak February 22, 2018

Hi,

Can we perform any actions other than sending notifications if a bamboo build fails? Just want to check if we can trigger other plans or add some stages which can be executed if a build fails?

I need to invoke few REST API's if a build plan is failed. Is this possible?

Thanks & Regards,

Deepak.

1 answer

1 vote
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2018
Deepak February 25, 2018

Hi Alexey,

Thank you for the response. Looks like the plugin is what I was looking for but it doesn't work with the current bamboo version (5.6.2) used by our organization. Though there is a plan to upgrade the bamboo server, is there any other way to implement this?

I was going through the Final Stage which would run irrespective of the build status of the previous stage. Thought of using this but I am not aware of how to get the build status of the previous stage. Is there any way to get the status?

Thanks & Regards,

Deepak.

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2018

It's open source, so you can try to adopt it to your Bamboo version. https://bitbucket.org/chystoprudov/bamboo-failtrigger-plugin

As I know it's not possible to get status of previous stages. But there's question where people found some possible solutions: https://community.atlassian.com/t5/Bamboo-questions/Is-there-a-bamboo-variable-with-the-build-job-s-result/qaq-p/166595 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events