what is the termination signal sent by Jenkins on aborting/terminating the build?

27 views
Skip to first unread message

Jyothi K

unread,
Aug 3, 2016, 9:03:30 AM8/3/16
to Jenkins Users
Hello all,


I have a build scheduled with Jenkins that triggers a batch file. The batch file basically starts several programs like canoe.exe, Lauterbach exe etc.
The problem here is when ever Jenkins build is terminated only the batch file gets terminated all the other process like canoe.exe,Lauterbach exe remains unclosed.
I tried to catch termination signal (SIGINT and SIGTERM) assuming Jenkins sends it to kill the process, but they are never catched in my code.

Can anyone please let me know what signal does Jenkins send to terminate the build in windows? so that I can use it in my code (Perl) to catch the signal and kill all other processes.

Operating system used : windows
Programming language used : Perl

Thank You,

Regards,
Jyothi
Reply all
Reply to author
Forward
0 new messages