(Continuous integration) Deploy Jenkins + MSBuild + Svn + SonarQube plugin for MSBuild on win7 (1), win7jenkins
1. Introduction to Jenkins
Jenkins is a visual web tool widely used for continuous building. Continuous building is more straightforward, that is, the "Automated" Compilation, packaging, distribution and deployment of various projects. Jenkins can well Support Project Construction in various languages (such as java, c #, php), and is fully compatible with ant, maven, gradle, and other third-party building tools, at the same time, it can be seamlessly integrated with svn and git. It also supports direct integration with well-known source code hosting websites, such as github and bitbucket.
The official jenkins website is.
2. Preparations before installation
Download jenkins windows (download it from the official website)
Download svn Client
If you have jdk or something, please prepare yourself ....
3. Start the installation process
Install SVN first (for example, you only need to perform the next step... )
Go to the topic and install Jenkins. See gif.
After finishing, you can open http: // localhost: 8080. (do not ask me why 127.0.0.1 is used. If there is a port conflict, modify the xml port)
Now, the installation is complete.
Iv. Configure and install the Jenkins plugin
Jenkins has been installed on the server as a service, but it is best to make Jenkins'sService
ToAdministrator identity
Log in to save a lot of trouble (don't ask me how to know ).... See the figure.
Install plug-ins
We perform continuous integration of. net projects and git version management, so we need to install plug-ins.MSBuild Plugin
, Subvision plugin
Continue reading the picture. Who made me lazy? you bite me?
The installation of the plug-in depends entirely on luck, because we are in tianchao, you know, you can try to install the plug-in multiple times if one installation fails. If the installation fails over the Intranet, let's see the figure below ..... Graph again
Manually download the plug-in file (. hpi ),Plugin Management
-Advanced
-Upload plugin
Manual Installation
5. Configure MSBuild
Please moveSystem Management
-System settings
To
MSBuild
Node, such
You can set up multiple MSBuild items, such as 2.0, 3.5, 4.0, and 4.5.