Improve propagation of issues in ProcessTree.Windows

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      This is a requirement for better error handling in JENKINS-30782.

      Build termination uses environment variables to determine which processes need to be aborted. OSProcess API provides getEnvironmentVariables(), which does not support propagating exceptions to upper levels. But we need it for issues which may happen in WinP. hasMatchingEnvVars() is final on the OSProcess level, hence there is no way to reliably propagate issues.

      New API needs to be implemented in order to allow propagating exceptions, at least for Windows processes

            Assignee:
            Oleg Nenashev
            Reporter:
            Oleg Nenashev
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: