On 13-05-02 09:36 PM, Eric Blom wrote: > > trap "/home/jenkins/tmp/cleanup.sh" INT TERM
There is also the "EXIT" pseudo-signal available in bash. > On the command line I'm testing with Ctrl+C (INT). Based on the webpage below > I believe SIGTERM (TERM) should work for Jenkins' cancel button Yes, an aborted Jenkins job step should get a SIGTERM b.
signature.asc
Description: OpenPGP digital signature