-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: PC, OS: Windows XP
Even though I marked the project as "Use update", eventually (I don't know why)
Hudson tries to delete the workspace and do a complete checkout.
However, it usually fails. And I have to delete the workspace manually.
Here's the console output:
ERROR: Unable to delete
d:\hudson\workspace\jobs\InfoPAE-Trunk\workspace\trunk\infopae.setup\bin\.svn\format
java.io.IOException: Unable to delete
d:\hudson\workspace\jobs\InfoPAE-Trunk\workspace\trunk\infopae.setup\bin\.svn\format
at hudson.Util.deleteContentsRecursive(Util.java:59)
at hudson.Util.deleteContentsRecursive(Util.java:57)
at hudson.Util.deleteContentsRecursive(Util.java:57)
at hudson.Util.deleteContentsRecursive(Util.java:57)
at hudson.Util.deleteContentsRecursive(Util.java:57)
at hudson.FilePath.deleteContents(FilePath.java:77)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:151)
at hudson.model.Project.checkout(Project.java:261)
at hudson.model.Build$1.run(Build.java:134)
at hudson.model.Run.run(Run.java:460)
at hudson.model.Build.run(Build.java:116)
at hudson.model.Executor.run(Executor.java:54)
Notice that the only process that could be locking the workspace is Hudson
itself, as I don't have any other process using the files in the workspace.
Anyway, seems to me that Hudson needs to address the deletion of the workspace
in a more robust manner and maybe revise the "updatable check" of the workspace
to avoid having to delete it.