Credentials Binding plugin causes File Descriptor leak

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

XMLWordPrintable

      Our deployment of Jenkins with this plugin is currently on an NFS share. In testing a job with this plugin, a file descriptor was apparently left open. We found this out when attempting to delete the test job after it ran. (It was a simple echo job to make sure masking worked as expected, nothing else)

      The issue appears to be related to the anonymous sub-class of theĀ LineTransformationOutputStream class returned by the Wrapper class and similar to the bug resolved inĀ JENKINS-28409 for EnvInject. The sub-class needs to clean up it's parent outputstream and the super class on close.

      Ā 

      @Override
       public void close() throws IOException {
       super.close();
       out.close();
       }

            Assignee:
            Unassigned
            Reporter:
            Elliott Butler
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: