How to terminate drone exec with SIGINT

I have a drone exec step which performs a few backup and export tasks upon SIGINT but whenever killing with ctrl+c the process is terminated without running those.

I was looking into drone exec --include server --trusted + crtl+C ends running process within the server step gracefully.

Thanks in advance

Hi Zanona, Drone doesn’t support SIGINT event.When a pipeline is cancelled the pipeline steps are killed with SIGKILL

Hope it helps, let us know if you have any questions.

Harness support

1 Like