[Buildbot-devel] Problems with VC8 step

Giuseppe Corbelli cowo78 at gmail.com
Wed Jul 21 15:57:44 UTC 2010


Buildbot 0.8.1, ActivePython 2.6, windows 7

I'm trying to build a simple project using VS2005. Here's my setup:

factory = factory.BuildFactory()

svnurl = "someurl"

s1 = SVN(svnurl = svnurl)
factory.addStep(s1)

s2 = VC8(
  mode = "rebuild",
  projectfile = "msvc/solution.sln",
  config = "Release",
  installdir = "msvc_base_installation",
  useenv = False,
  arch = "x86"
)
factory.addStep(s2)

b = BuilderConfig(
  self,
  name = "buildbot",
  slavename = "slave",
  builddir = "somename",
  slavebuilddir = "somename",
  factory = factory
)

c['builders'] = [b]


The second step fails with an error like this (stdio reported by web status)

devenv None /Rebuild None
 in dir C:\Devel\Buildslave\libCopan-C++\build (timeout 1200 secs)
 watching logfiles {}
 argv: ['devenv', 'None', '/Rebuild', 'None']
 environment:
....

Somehow the command line setup done by VC8 got lost before the ShellCommand
was executed.
Note that if I do
s2 = ShellCommand(command = [os.path.join(msvc_installdir, "Common7", "IDE",
"devenv.exe"), "msvc/solution.sln", "/Rebuild", "Release"])

the build works correctly. Since I'm new to buildbot it's likely it's me doing
something wrong, but I can't see what. Care to help me?
Thanks

-- 
        Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.yoda2000.net
-<! Non c'e' niente da dire in proposito. Tutto quello che uno deve fare e'
  colpire i tasti giusti al momento giusto, e lo strumento suona da solo. !>-
                                J.S. Bach




More information about the devel mailing list