[Buildbot-devel] Visual Studio: new build step
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:
> 2. call vcvarsall.bat to have the environment setup correctly for the
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6467 bytes
Desc: not available
More information about the devel