To verify this, I added created the following build script:

#!/bin/bash

trap 'echo 1' 1
trap 'echo 2' 2
trap 'echo 3' 3
trap 'echo 4' 4
trap 'echo 5' 5
trap 'echo 6' 6
trap 'echo 7' 7
...
trap 'echo 64' 64
sleep 120

And I have not forgotten any signal in between. When I hit the [x] to kill the job, none of the traps gets invoked, proving that Jenkins uses kill dash nine (kill -9).

No job clean up is possible. This is a terrible design flaw. Please tell me I am wrong.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to