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

WS clenaup fails when some pattern is specified

    XMLWordPrintable

    Details

    • 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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          src/main/java/hudson/plugins/ws_cleanup/Cleanup.java
          http://jenkins-ci.org/commit/ws-cleanup-plugin/153196a383ac2d58ff569014c9cdc62fc71d0136
          Log:
          [FIXED JENKINS-23494] Avoid empty commands and thus various strange states

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: src/main/java/hudson/plugins/ws_cleanup/Cleanup.java http://jenkins-ci.org/commit/ws-cleanup-plugin/153196a383ac2d58ff569014c9cdc62fc71d0136 Log: [FIXED JENKINS-23494] Avoid empty commands and thus various strange states

            People

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

              Dates

              • Created:
                Updated:
                Resolved: