[Buildbot-devel] Visual Studio: new build step

Oleg Smolsky oleg at smolsky.net
Thu Sep 20 22:40:33 UTC 2012


On 2012-09-20 09:30, Oleg Smolsky 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:
>> https://github.com/buildbot/buildbot/blob/master/slave/buildslave/commands/fs.py
> I've added it on the Slave side and created the marshalling piece on the
> Master side in steps/slave.py.
I got a bit further - I can push 'readRegistry' command to the Slave 
from inside my build step:

rcmd = buildstep.RemoteCommand(
             'readRegistry',
             {'key' : r"SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0",
              'value' : r"ShellFolder"})
d = self.runCommand(rcmd)

But how do I wait for its completion in a blocking fashion?




More information about the devel mailing list