Spawned processes cannot be killed on a 32bit windows machine.
We have a jenkins master that is running on a 64bit windows machine, which has a slave that is running a 32bit windows. In our multibranch pipeline project we run a stage on that 32bit slave, and in that stage we start a java process.
What we see is that this java process cannot be killed when the stage is finished. After some debugging we found that this is due to an issue in the used winp.
This winp seems to only be compatible with X64 and wow64. This means on our slave the env variable matching of the processes always fails and the spawned process will not be killed.
I have already made an issue in the winp repository which can be found here:
https://github.com/kohsuke/winp/issues/48
When this issue is fixed a new version of winp should be included in jenkins