[Buildbot-devel] Problems with VC8 step
Benoît Allard
benoit at aeteurope.nl
Thu Jul 22 08:26:38 UTC 2010
Looks like the parameter of the step got lost somewhere.
Turns out I use the step a bit differently like that:
steps = [
factory.s(SVN, svnurl=svnurl),
factory.s(VC8,
mode = "rebuild",
projectfile = "msvc/solution.sln",
config = "Release",
installdir = "msvc_base_installation",
useenv = False,
arch = "x86"),
]
b = {
'name': "buildbot",
'slavename': "slave",
'builddir': "somename",
'slavebuilddir': "somename",
'factory': factory.BuildFactory(steps),
)
Will it works for you ?
Regards,
Benoit
Giuseppe Corbelli wrote:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6031 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://buildbot.net/pipermail/devel/attachments/20100722/63f27f40/attachment.bin>
More information about the devel
mailing list