Execute arbitrary steps after build termination


Currently, there is no way to execute arbitrary instructions when build gets canceled or it crashes for whatever reason.

It would be useful to add a support for a special section in circle.yml. The section would specify a list of steps that should be taken after the termination. Think of test cases which spawns external VMs that need to be terminated after finishing a build.


Totally agree with this. I need this to close SauceLabs tunnels.