Jenkins+maven for continuous Java Project Integration __java

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.