Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: subversion-plugin, svn-workspace-cleaner-plugin
-
Labels:None
-
Environment:Jenkins 2.157
Windows Server 2012
-
Similar Issues:
Description
The following error occurs in the latest Jenkins build when the pipeline script tries to clean the workspace. Reverted back to 2.156 and it works without any issue
Checking out svn
Environment Control into \workspace@script to read Jenkinsfile
Cleaning local Directory .
ERROR: Checkout failed
jenkins.util.io.CompositeIOException: Unable to delete '\workspace@script\.'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:84)
at hudson.Util.deleteContentsRecursive(Util.java:244)
at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:93)
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1041)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1017)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:990)
at hudson.FilePath.act(FilePath.java:1078)
at hudson.FilePath.act(FilePath.java:1061)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:937)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:864)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:144)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
jenkins.util.io.CompositeIOException: Unable to remove directory workspace@script\.\.svn with directory contents: [workspace@script\.\.svn\entries, workspace@script\.\.svn\format, workspace@script\.\.svn\pristine, workspace@script\.\.svn\tmp, workspace@script\.\.svn\wc.db]
I'm sorry to let you know that this plugin isn't under active development anymore. If you can provide a pull request that fixes this I'd be happy to review it though.