-
Suggestion
-
Resolution: Unresolved
-
None
It would be good to have the ability to run after scripts for stopped builds for cases where a Pipeline build triggers steps that start a deployment to a server, for example.
Once a build is stopped on Bitbucket Pipelines, it would be good to be able to automatically trigger steps to cancel the build on the server too. The after-script function seems to be the best approach for this.
Edit: An additional suggestion - Execute after script in situations where build stops after max-time as well.
if a job is manually cancelled while waiting for an external api process to run, we want to cancel that process. Currently it means logging into this external service, finding the process and cancelling it manually; which takes time and worse, can be forgotten; leaving the job running