Author Topic: Using C::B with buildbot  (Read 2384 times)

Offline Gagh

  • Multiple posting newcomer
  • *
  • Posts: 12
Using C::B with buildbot
« on: March 31, 2008, 02:22:45 am »
After an evening of trail and error, I need to ask if someone has tried to get the commandline batchbuild to work with buildbot automated build and testing software on the win32 platform.

The buildbot setup is functioning, but for some reason the command line for the project build with C::B gives dialogs asking for the correct setting of global variables used in the build setup of the project.

The version of the project that is build is one straight from svn, build on the same machine where it was build by hand before committing it to svn. The buildbot client builder is running from a dos box as the same user. The environment in the dos box is correct, when the command is run by hand it works beautifully and builds the project.

The current command line for is:
codeblocks /na /nd /ns --personality="default" --rebuild --target="Release" Project.cbp

In the buildbot setup the following is specified:
f1 = factory.BuildFactory()
f1.addStep( <get the code from svn> )
f1.addStep( ShellCommand( command="codeblocks /na /nd /ns --personality=\"default\" --rebuild --target=\"Release\" Project.cbp", workdir="project-full" ) )

It probably can be solved by using makefiles and let is just call "make all", but I'd rather use C::B to build, makefiles need a lot of maintenance 8)
« Last Edit: March 31, 2008, 02:27:44 am by Gagh »
OS: winXP sp3 | FreeBSD 7.0-stable | Ubuntu
Compiler: mingw 5.1.3 | gcc 4.2.1 | gcc 4.2.1
IDE: Code::Blocks SVN (on all) WX: 2.8.7 | 2.8.0 | 2.8.8