Commit bf5912b
authored
[Green dragon] add a SIGINT handler to error when jenkins kills the process (#874)
Jenkins will kill the processes on stage timeouts via SIGINT, however we
ignore errors in the subprocesses to defer to the junit plugin, so
instead detect SIGINTS and exit with a nonzero exit
https://docs.python.org/3/library/signal.html#note-on-signal-handlers-and-exceptions1 parent 37ca0c0 commit bf5912b
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| |||
932 | 943 | | |
933 | 944 | | |
934 | 945 | | |
| 946 | + | |
| 947 | + | |
935 | 948 | | |
936 | 949 | | |
937 | 950 | | |
| |||
0 commit comments