Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Hudson cannot find cmake
icon5.gif  Hudson cannot find cmake [message #1645675] Mon, 02 March 2015 16:32 Go to next message
assil benchaaben is currently offline assil benchaabenFriend
Messages: 2
Registered: March 2015
Junior Member
Hi,
I have a problem to bluid my C++ project with Hudson and cmake.

[deploy_test] $ C:\Program Files (x86)\CMake 2.8\bin -version
The system cannot find the file specified
FATAL: Cannot run program "C:\Program" (in directory "C:\Users\abenchaaben\Documents\deploy_test"): CreateProcess error=2, Le fichier spécifié est introuvable
java.io.IOException: Cannot run program "C:\Program" (in directory "C:\Users\abenchaaben\Documents\deploy_test"): CreateProcess error=2, Le fichier spécifié est introuvable
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.<init>(Proc.java:187)
at hudson.Proc$LocalProc.<init>(Proc.java:157)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:649)
at hudson.Launcher$ProcStarter.start(Launcher.java:266)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:826)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:797)
at hudson.remoting.UserRequest.perform(UserRequest.java:107)
at hudson.remoting.UserRequest.perform(UserRequest.java:41)
at hudson.remoting.Request$2.run(Request.java:276)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:53)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 16 more

what did i wrong?
Re: Hudson cannot find cmake [message #1657337 is a reply to message #1645675] Sat, 07 March 2015 23:17 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Any commands that contain spaces in their paths need to be quoted by "", otherwise the part before the first space will be recognized as a command. How do you write your command to run cmake?

Kaz Nishimura
Previous Topic:Hudson support
Next Topic:Git Parameter Plugin is missing in Hudson
Goto Forum:
  


Current Time: Tue Mar 19 09:01:16 GMT 2024

Powered by FUDForum. Page generated in 0.03436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top