When a Pipeline is running, and a user requests that it be stopped, what exactly happens to any steps that are currently running? Do they receive a SIGINT? A SIGKILL? Is there a grace period before a SIGKILL? Is it configurable?
Hello @Johnathan Gilday ,
When a pipeline is stopped, either by the API or UI, the running step will be stopped, and the running processes within that step will be forcefully killed, like a kill -9 command, where it sends a SIGKILL to the processes and forces them to terminate.
Hope that helps to address your question.
Thank you, @Johnathan Gilday .
Kind Regards,
Patrik S
I've never tried this before, but I wonder if the `after-script` is called on STOP as well or not.
https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#after-script
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.