Jenkins installationInstall tomcat download Jenkins.war file from Jenkins website. Website address: http://jenkins-ci.org/, note Select the latest version of long-term Support release to deploy the war file to Tomcat to start Tomcat in the browser configuration Jenkins, browser address: http ://{tomcat ip}:{tomcat port}/jenkins/
Jenkins System Setup
Menu path: System Management-Admin jenkins-system Settings Settings home directory set maven. Note To install the Maven3.1.1 version in the operating system beforehand. Note that you cannot use a more maven3.2.x version, otherwise the run will be wrong. Set Subversion settings mail notification. To build the mail server Jenkins plugin in the operating system beforehand.
Menu path: System Management-Manage jenkins-management plug-ins.
Install the following plugins:
1. Maven Project Plugin
2. Subversion Plugin
3. Checkstyle Plugin
4. Findbugs Plugin
5. PMD Plugin
6. Warnings Plugin maven project configuration
Jenkins supports two kinds of works: Freestyle Engineering and MAVEN project. If the code is constructed with MAVEN, you can create a MAVEN project directly.
After you create a new MAVEN project, you need to set the following entries: Set up the download path for the SVN code setting the Automatically constructed date setting the path setting of the Pom file mvn the command's parameters set the post-build action
http://blog.csdn.net/jiangfuqiang/article/details/38497461