[Buildbot-devel] Visual Studio: new build step
oleg at smolsky.net
Thu Sep 20 16:30:29 UTC 2012
Hi Benoît, thank you for the quick reply. Please see my reply below.
On 2012-09-20 01:10, Benoît Allard wrote:
>> -----Original Message-----
>> So, the right path here is as follows:
>> 1. read the VS2012 installation path from the Registry
> You have to add a slave side command that can read the registry
> Look at here for examples of slave-side commands:
I've added it on the Slave side and created the marshalling piece on the
Master side in steps/slave.py. But, it seems, I am missing some kind of
registration as I get the following error when restarting the master:
144, in loadConfig
exec f in localDict
File "/opt/buildbot/master/master.cfg", line 272, in <module>
exceptions.NameError: name 'ReadRegistry' is not defined
I am trying to call the step this way:
This seems to be an awkward and indirect way of solving the issue. The
master needs not care how Visual Studio is installed on the Slave. I
only need to read the registry on the Slave side, then capture the
environment and then invoke MsBuild.
What am I missing?
More information about the devel