Issue Type: Bug Bug
Affects Versions: current
Assignee: Deluan Quintão
Components: rtc
Created: 13/Sep/12 12:39 PM
Description:

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.

Environment: windows, rtc plugin 0.3, Jenkins 1.435
Project: Jenkins
Priority: Major Major
Reporter: Gossé Romain
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to