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

WS clenaup fails when some pattern is specified

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ws-cleanup-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      When any include patter is specified, ws clenaup fails with

      SEVERE: null
      java.lang.ArrayIndexOutOfBoundsException: 0
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
              at hudson.plugins.ws_cleanup.Cleanup.invoke(Cleanup.java:121)
              at hudson.FilePath.act(FilePath.java:784)
              at hudson.FilePath.act(FilePath.java:766)
              at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:165)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
              at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
              at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
              at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
              at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
              at hudson.model.Run.run(Run.java:1448)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
              at hudson.model.ResourceController.execute(ResourceController.java:88)
              at hudson.model.Executor.run(Executor.java:238)
      
      Jun 18, 2014 11:33:13 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps
      WARNING: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception
      hudson.AbortException: Cannot delete workspace: 0
              at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:180)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
              at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
              at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
              at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
              at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
              at hudson.model.Run.run(Run.java:1448)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
              at hudson.model.ResourceController.execute(ResourceController.java:88)
              at hudson.model.Executor.run(Executor.java:238)
      
      

        Attachments

          Activity

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              vjuranek vjuranek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: