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

Cannot delete workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rtc-plugin
    • None
    • windows, rtc plugin 0.3, Jenkins 1.435

      When trying to delete the workspace, I got this exception:

      java.io.IOException: Cannot run program "scm": CreateProcess error=2, The system cannot find the file specified
      	java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
      	hudson.Proc$LocalProc.<init>(Proc.java:244)
      	hudson.Proc$LocalProc.<init>(Proc.java:216)
      	hudson.Launcher$LocalLauncher.launch(Launcher.java:707)
      	hudson.Launcher$ProcStarter.start(Launcher.java:338)
      	com.deluan.jenkins.plugins.rtc.JazzClient.joinWithPossibleTimeout(JazzClient.java:162)
      	com.deluan.jenkins.plugins.rtc.JazzClient.stopDaemon(JazzClient.java:93)
      	com.deluan.jenkins.plugins.rtc.JazzSCM.processWorkspaceBeforeDeletion(JazzSCM.java:136)
      	hudson.model.AbstractProject.doDoWipeOutWorkspace(AbstractProject.java:1762)
      

      Looking at the code I understand that lscm.bat (which I set) does not support this operation. It should fail in a nicer way, possibly carrying on with the wiping of the workspace.

      Also, I tried setting another command line tool (I don't seem to have a scm.bat, but I do have an scm.exe) with the same result.

            deluan Deluan Quintão
            rgosse Romain Gossé
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: