Plugin Information |
---|
No information for the plugin 'vcvarsall' is available. It may have been removed from distribution. |
vcvarsall Plugin
This plugin enables Windows nodes with MSVC installed to run vcvarsall.bat before builds.Usage
Any node running Windows with Visual Studio 2013, 2015, or 2017 installed can utilize this plugin. Once installed, the plugin will add a configuration option for the node:
The "Visual Studio Version" option indicates to the plugin which version of Visual Studio should be used for the node (since it is possible to have multiple versions installed). The architecture indicates which toolchain should be used.
How It Works
The plugin does the following for each configured node:
- Uses the Windows registry to determine the installation directory for the selected version of Visual Studio
- Determine the parameter to pass to vcvarsall.bat based on the selected architecture and the node's architecture
- Launch cmd with the path to the script and capture the environment variables that it creates
Then, when a build occurs on one of the nodes, the captured environment variables and their values are set as if vcvarsall.bat had been run directly from the build.
Changelog
1.0 - 17th April 2017
- Initial release