1. Installing Jenkins
? Double-click the installation, if necessary, you can configure environment variables (not normally set)
? Enter in the browser: http://localhost:8080/open Jekins, and complete the Jenkins installation
? If port 8080 ports are occupied, you can modify
2. Download Plugin (we need to download MSBuild plugin, Team Foundation Server plugin)
? Go to "System settings" under "plug-in Management"
? Filter to select the plugin you want to download, tick the checkbox and click Direct Download
? After installation, you can see under "Installed"
3. Configure system Settings
? Under system administration, go to system settings
? Configure MSBuild
name:msbuild4.0
Path to Msbuild:c:\windows\microsoft.net\framework\v4.0.30319\msbuild.exe
? Configure Team Foundation Server
TF command line Executable:c:\program Files (x86) \microsoft Visual Studio 11.0\common7\ide\tf.exe
? The rest is unchanged by default and can be modified if necessary
4. Create a new task and configure
? New Task (Job)
? Enter the item name and select Build Project
? Set up Source control
? Setting up a Build
2 we chose to use Build a Visual Studio project or solution using MSBuild mode 2 After adding the build, restore the configuration file to the settings of the test environment |
|
? You can see individual tasks under Jobs (separate folders)
Jenkins Auto-build vs code 20150607