Author Topic: [SOLVED] How to call codebkocks.exe inside Jenkins ?  (Read 5716 times)

Offline Suryavarman

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Suryavarman
[SOLVED] How to call codebkocks.exe inside Jenkins ?
« on: November 13, 2013, 09:39:53 pm »
Jenkins stay blocked on the launch when i try to call codeblocks.exe with batch command.

It's works directly with the batch file or inside cmd consol.

(I have try to call a python file but it's the same problem. )

Remark see :
http://forums.codeblocks.org/index.php/topic,18544.0.html

« Last Edit: November 20, 2013, 07:05:19 pm by Gandi »

Offline Suryavarman

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Suryavarman
Re: [SOLVED] How to call codebkocks.exe inside Jenkins ?
« Reply #1 on: November 20, 2013, 07:07:30 pm »
My solution :

Jenkins Job batch : BEGIN -> call a TCP client ( script python ) ->  send a message to a application server -> call codeblocks.exe  with CreateProcess -> WaitForSingleObject -> Send( "END process" ) to TCP client -> Jenkins Job batch : END


It's works.
« Last Edit: November 20, 2013, 08:54:15 pm by Gandi »