Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
Jenkins v2.121.3 LTS, AntExec v1.11 Java v1.8.0.161, Windows Server 2008
Description
Running Jenkins on a Windows 2008 server, I'm experiencing an issue where using the AntExec plugin and executing the ant unzip task on a file in the workspace works, but leaves a file handle open on the log file of the build. As a result, trying to delete these builds fails with a Java IOException see error screnshot.
Using Windows Process Explorer, I can see that the file handles are open for all the builds executed and not just the last one.
Note, I have also noticed similar issues with trying to run the same Ant task from a System Groovy script.