jenkinsci / lib-file-leak-detector

Java agent that detects file handle leak
http://file-leak-detector.kohsuke.org/
MIT License
241 stars 112 forks source link

Add option "dumpatshutdown" to print out all remaining file handles during shutdown #13

Closed centic9 closed 10 years ago

centic9 commented 10 years ago

Adds an option which dumps file handles which were not closed during the program execution. This is useful for CI runs where it is desirable to have the list of unclosed handles as part of the build-output. Then you can fail the build via output-parsing to fail the build on newly added handles.

Note: This will likely conflict with changes in pull request #10, I will update the pull-requests as soon as one of them is merged.

buildhive commented 10 years ago

Kohsuke Kawaguchi » file-leak-detector #21 SUCCESS This pull request looks good (what's this?)

kohsuke commented 10 years ago

I've squashed all the commits and merged as one.