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