Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20289

[winp library] - ProcessTermination: Add support of children processes retrieval for Windows

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • Windows

      The current Jenkins version uses "winp" to recursively terminate Windows processes. Such approach works well, but ProcessKiller extensions cannot be invoked for entire process tree on Windows, so their behavior differs from Linux.

      I propose to replace getChildren() and getParent() method stubs by working implementations using additional methods in the native part.

      My use-case:

          [JENKINS-20289] [winp library] - ProcessTermination: Add support of children processes retrieval for Windows

          Oleg Nenashev added a comment -

          This fix is required for proper invocation of process killers on Windows

          Oleg Nenashev added a comment - This fix is required for proper invocation of process killers on Windows

          Oleg Nenashev added a comment -

          The fix will allow to completely resole JENKINS-13615

          Oleg Nenashev added a comment - The fix will allow to completely resole JENKINS-13615

          Daniel Beck added a comment -

          Needs to be reproduced in 1.556 or up, which updated winp from 1.16 to 1.18.

          Daniel Beck added a comment - Needs to be reproduced in 1.556 or up, which updated winp from 1.16 to 1.18.

          Oleg Nenashev added a comment -

          winp-1.18 does not resolve the issue
          This is a major change, which requires modification of both native library and Java code

          Oleg Nenashev added a comment - winp-1.18 does not resolve the issue This is a major change, which requires modification of both native library and Java code

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: