Jenkins + maven + git + sonar system continuous integration & amp; Code single test management
Jenkins + maven + git + sonar system continuous integration & code Test Management
Install JenkinsJenkins is a Java-based continuous integration tool used to monitor continuous repetitive work. features include: 1. Continuous software version release/test projects. 2. Monitor the execution of external calls.
1. download the latest version (a war file ). Jenkins Official Website: http://Jenkins-ci.org/
2. run java-jar jenkins. war (jenkins uses the embedded jetty service by default and can be deployed in other containers .)
(The default port is port 8080. You can use java-jar jenkins. war -- httpPort = 8088 as the listening port for the startup Item .)
Note: Jenkins needs to run Java 5 or a later version.
Basic Jenkins Configuration
System settings: Choose Manage Jenkins-> Configure System
Set the Maven configuration file path
Jenkins uses the svn management project by default. To use git, you need to install the git plug-in. Manage Jenkins-Manage Plugins-Available-Git plugins and click Install. Then return to the system management page to set some git parameters.