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.
[JENKINS-53498] Ant Task locks build log file. Unable to delete build.
Assignee | New: Milos Svasek [ svasek ] |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Sorry, this is not issue of the plugin.