Hi everybody,
I am building and testing windows applications on windows machines.
I have a number of tests which start several processes in the background. After each of the tests I call a script to end the processes in case something went wrong end they didn't end in a proper way during the tests. This script makes use of taskkill. On my local machine everything works well. After each test all remaining processes are killed properly.
However when I run this on jenkins the taskkill seems not to work: the processes are still alive after the call and this leads to problems during the whole test run up to deadlocks.
As in the scripts the test process and kill is called directly in a row from a make environment I can't imagine where the problem is.
Is there any reason why I can't kill a process created from the same environment before? Is there a proper way to handle this on jenkins?
I am working with a client-server setup if that's important.
Many thanks for any kind of advice!
Regards,
Christoph