Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55460

Cleaning of svn workspace broken in 2.157

XMLWordPrintable

      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]

            Unassigned Unassigned
            iceinvein Dik Rana
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: