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?
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
Done, and thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.