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

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

    XMLWordPrintable

Details

    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

            oleg_nenashev Oleg Nenashev added a comment -

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

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

            The fix will allow to completely resole JENKINS-13615

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

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

            danielbeck 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 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 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

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

              Dates

                Created:
                Updated: