I have an Ant target invoked by a build that writes its output to a log file but that target also happens to do a <move> on that same file (I know, I know...) while running. I'm getting an "unable to delete" warning, which makes sense, but it stops the rest of the move operation, which is a huge problem.
BUT this always worked without a problem in CruiseControl on the same Windows 2008 R2 machine. In fact, this Ant target has always worked on Windows machines always. This build also works on our Jenkins-on-Linux machines as well. Just not on Jenkins-on-Windows. I'm baffled. Is there something that jenkins.exe is doing that causes file handles to be treated different by child processes? Am I going completely insane? Latest Jenkins on jdk1.8u66, same jdk for Ant No exotic plugins, this part of the build in question is invoked in the vanilla Jenkins "Execute Windows Batch" -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c64c5450-391d-4233-af0b-bbadffa0f63f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.