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

Checkout of library to be used in a Pipeline script with SVN hangs

XMLWordPrintable

      After upgrading Jenkins from 2.156 to 2.157, the loading of a library (to be checked out by SVN) fails.

      The code in the Pipeline script includes:

       

      // @Library('JenkinsHelpers')
      

      This library is checkout by SVN (set in Jenkins -> configuration -> Global Pipeline Libraries)

      The console log is:

      // Started by upstream project "Triggers/XXXX SVN Trigger Groovy" build number 824
      originally caused by:
       Started by upstream project "Triggers/XXXX SVN Trigger" build number 2123
       originally caused by:
        Started by an SCM change
      Running in Durability level: MAX_SURVIVABILITY
      Loading library JenkinsHelpers@trunk
      Cleaning local Directory .
      ERROR: Checkout failed
      jenkins.util.io.CompositeIOException: Unable to delete 'C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.'. 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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      jenkins.util.io.CompositeIOException: Unable to remove directory C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn with directory contents: [C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn\entries, C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn\format, C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn\pristine, C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn\tmp, C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn\wc.db]
      	at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:233)
      	at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191)
      	at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201)
      	at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210)
      	at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81)
      	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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      java.nio.file.DirectoryNotEmptyException: C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      	at java.nio.file.Files.deleteIfExists(Unknown Source)
      	at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:220)
      	at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191)
      	at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201)
      	at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210)
      	at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81)
      	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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      java.nio.file.DirectoryNotEmptyException: C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\.svn
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      	at java.nio.file.Files.deleteIfExists(Unknown Source)
      	at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:224)
      	at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191)
      	at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201)
      	at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210)
      	at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81)
      	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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      jenkins.util.io.CompositeIOException: Unable to remove directory C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\src with directory contents: [C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\src\de]
      	at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:233)
      	at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191)
      	at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201)
      	at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210)
      	at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81)
      	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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      java.nio.file.DirectoryNotEmptyException: C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\src
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      	at java.nio.file.Files.deleteIfExists(Unknown Source)
      	at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:220)
      	at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191)
      	at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201)
      	at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210)
      	at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81)
      	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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      java.nio.file.DirectoryNotEmptyException: C:\Users\YYYYY\.jenkins\workspace\XXXX Pipeline@libs\JenkinsHelpers\.\src
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      	at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      	at java.nio.file.Files.deleteIfExists(Unknown Source)
      	at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:224)
      	at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:191)
      	at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:201)
      	at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:210)
      	at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:81)
      	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.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:116)
      	at org.jenkinsci.plugins.workflow.libs.SCMRetriever.retrieve(SCMRetriever.java:64)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:157)
      	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:138)
      	at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Retrying after 10 seconds
      

       

       

            Unassigned Unassigned
            jherb Joachim Herb
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: