Workspace Cleanup Plugin fails on cygwin unix slave

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: ws-cleanup-plugin
    • Environment:
      CentOS release 6.5 (Final)
      Jenkins 1.532
      Workspace Cleanup 0.20
      Cygpath plugin 1.5

      When either pre or post ws cleanup is run, it fails with exception

      Deleting project workspace...
      Cannot delete workspace :remote file operation failed: /home/dtcdt/projects/jenkins/workspace/CommonLib/label/Build-Win2003R2 at hudson.remoting.Channel@6701c06:Build-Win2003R2
      ERROR: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception
      hudson.AbortException: Cannot delete workspace: remote file operation failed: /home/dtcdt/projects/jenkins/workspace/CommonLib/label/Build-Win2003R2 at hudson.remoting.Channel@6701c06:Build-Win2003R2
      at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:180)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754)
      at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      at hudson.model.Run.execute(Run.java:1710)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:246)
      Finished: FAILURE

            Assignee:
            vjuranek
            Reporter:
            Tomas Kislan
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: