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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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:

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

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

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

            The fix will allow to completely resole JENKINS-13615

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fix will allow to completely resole JENKINS-13615
            Hide
            danielbeck Daniel Beck added a comment -

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

            Show
            danielbeck Daniel Beck added a comment - Needs to be reproduced in 1.556 or up, which updated winp from 1.16 to 1.18.
            Hide
            oleg_nenashev 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

            Show
            oleg_nenashev 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

              People

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

                Dates

                • Created:
                  Updated: