User forums > Using Code::Blocks
Jenkins execute command line never completes
(1/1)
Orione:
I am trying to run code::blocks in command line mode.
Jenkins is running on a Windows 10 x64 system.
Execution is activated by Jenkins via batch file on a Windows 10 x64 system.
Following is the command line call:
"C:\Program Files (x86)\CodeBlocks\\"codeblocks.exe /na /nd /ns --batch-build-notify --rebuild --target="Release" ".\\"MyProject.cbp
Execution of this command keeps running and never completes.
Batch file works fine if executed with double click.
Any hint on how to make it to work?
Thanks everyone.
stahta01:
Other than to remove this option; since I think it uses a GUI to display info and this might be cause Jenkins to lockup.
--- Code: -----batch-build-notify
--- End code ---
I have no suggestion of what is needed to get Code::Blocks to run under the "Continuous integration" program called Jenkins.
You can also try some of the other options from http://wiki.codeblocks.org/index.php/Code::Blocks_command_line_arguments#Using_command_line_arguments
Tim S.
killerbot:
I have done this before (on linux that is), and I used for that a special build made by jens, which kind of made CB GUI-less because indeed otherwise it keeps being stuck in the GUI interactive mode.
Orione:
@stahta01: thanks!
I also tried without option "--batch-build-notify", no success. Nothing changes.
@killerbot: thanks!
I read some other posts on making Jenkins-Code::Blocks to work together by using "export DISPLAY=:2000.0" (reported in http://forums.codeblocks.org/index.php?topic=14928.0)
Unfortunately I am not aware of any way to make the same on a Windows system.
Do you think the special build by jens is still available?
Or do you know the effort it took to create it from development branch?
Navigation
[0] Message Index
Go to full version