-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: PC, OS: All
When our projects are under source code management(in our case SVN) an error
occurs while trying to delete the associated project workspace before the
checkout. This always leads to a failed project and it forces us to do the
remove workspace and checkout directly from the execute shell. It happens
randomly, file permissions allow us to delete the files and there is no other
concurrent process that could have a handle on these files.
Hudson is at the latest version on a Windows Server Enterprise 2007 machine.
started
FATAL: Unable to delete
D:\hudson_config\jobs\Trunk\workspace\trunk\win32\DebuggingApps\obj\netborder_win32_vc8\DetermineAddress.obj
java.io.IOException: Unable to delete
D:\hudson_config\jobs\Trunk\workspace\trunk\win32\DebuggingApps\obj\netborder_win32_vc8\DetermineAddress.obj
at hudson.Util.deleteFile(Util.java:212)
at hudson.Util.deleteRecursive(Util.java:244)
at hudson.Util.deleteContentsRecursive(Util.java:178)
at hudson.Util.deleteRecursive(Util.java:243)
at hudson.Util.deleteContentsRecursive(Util.java:178)
at hudson.Util.deleteRecursive(Util.java:243)
at hudson.Util.deleteContentsRecursive(Util.java:178)
at hudson.Util.deleteRecursive(Util.java:243)
at hudson.Util.deleteContentsRecursive(Util.java:178)
at hudson.Util.deleteRecursive(Util.java:243)
at hudson.Util.deleteContentsRecursive(Util.java:178)
at hudson.Util.deleteRecursive(Util.java:243)
at hudson.Util.deleteContentsRecursive(Util.java:178)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:460)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:405)
at hudson.FilePath.act(FilePath.java:389)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:398)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:347)
at hudson.model.AbstractProject.checkout(AbstractProject.java:681)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:264)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238)
at hudson.model.Run.run(Run.java:842)
at hudson.model.Build.run(Build.java:88)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:90)
- duplicates
-
JENKINS-15331 Workaround Windows unpredictable file locking in Util.deleteContentsRecursive
- Resolved
- is related to
-
JENKINS-10905 Deleting previous project files regularly fails the build
- Resolved
-
JENKINS-15331 Workaround Windows unpredictable file locking in Util.deleteContentsRecursive
- Resolved