Currently, On Windows Jenkins calls ProcessKillers for the root process only. On Linux machines the extension point is being called for the entire process tree. The implementation should be synchronized for all platforms.
Solution:
- Built-in killRecursive() of WinProc should be replaced by a recursive implementation from UnixProcess (depends on JENKINS-20289)
- depends on
-
JENKINS-20289 [winp library] - ProcessTermination: Add support of children processes retrieval for Windows
- Open
- is blocking
-
JENKINS-13615 ProcessTreeKiller doesn't work for cygwin sub-processes
- Resolved
- is related to
-
JENKINS-48485 Aborting a Job running on Windows terminates the process immediately with no chance to run build clean up code, thus leaves build related lock files hanging at slave.
- Open
-
JENKINS-9104 Visual studio builds started by Jenkins fail with "Fatal error C1090" because mspdbsrv.exe gets killed
- Resolved