Can you find out what is going wrong? Add a call to GetLastError maybe? On Tue, Jul 27, 2021 at 2:22 AM '[email protected]' via Jenkins Users <[email protected]> wrote:
> > 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 > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/ab4ba3d4-99b1-4b48-bce8-417bb74f95den%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/ab4ba3d4-99b1-4b48-bce8-417bb74f95den%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO1vCWG8HKoj8Kqab1gBPDFhN%2BuK3HczgdtHnLqjOzefpQaqWg%40mail.gmail.com.
