Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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
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 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>(
at hudson.Proc$LocalProc.<init>(
at hudson.Launcher$LocalLauncher.launch(
at hudson.Launcher$ProcStarter.start(
at hudson.Launcher$
at hudson.Launcher$
at hudson.remoting.UserRequest.perform(
at hudson.remoting.UserRequest.perform(
at hudson.remoting.Request$
at java.util.concurrent.Executors$ Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at hudson.remoting.Engine$1$
at Source)
Caused by: 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
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: Sun Sep 27 00:25:43 GMT 2020

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

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

Back to the top