Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipelines - Handling Failed Builds

Hugh Ma May 5, 2017

For bitbucket pipelines, is there currently a way to handle failed builds?

 

i.e. - Build spins up some EC2 instances, but fails in the middle. Now instances are still there, eating up usage costs.

Is there a handler we can specify in the bitbucket-pipelines.yml to run a clean-up script on build failures?

2 answers

1 accepted

1 vote
Answer accepted
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2017

Hi Hugh, 

we currently don't have support for such 'final' tasks unfortunately. 

We do have an open feature request for this, that you can vote on and track: https://bitbucket.org/site/master/issues/13317/final-step-required-for-parsing-unit-tests

Hugh Ma May 10, 2017

Done, and thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events