[Buildbot-devel] Visual Studio: new build step
Benoît Allard
benoit at aeteurope.nl
Thu Sep 20 08:10:48 UTC 2012
> -----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
>
> 2. call vcvarsall.bat to have the environment setup correctly for the
> platform
A SlaveShellCommand can do that, then you need to save the env somewhere once the command have been executed
> 3. execute msbuild_command
Again, a SlaveShellCommand, but only after having reinjected the env from the previous execution of vcvarsall.bat
>
> Could someone explain how to encode these actions inside my limited
> implementation of start(self) please?
>
Command are ordered by the master, for an example of 'Step' that runs multiple commands on the slave, you can look ... at the new source steps who runs multiple times the version control tool. Somewhere here: https://github.com/buildbot/buildbot/tree/master/master/buildbot/steps/source
Don't hesitate to ask if you have more questions.
Regards,
Benoît.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6467 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20120920/514bfe77/attachment.bin>
More information about the devel
mailing list