Jenkins+git+maven build an automated deployment project environment

Source: Internet
Author: User

Brief introduction

tossing for two nights, take advantage of the more free tonight, the Jenkins+git+maven Build Automated deployment project environment to build the process of recording, here I use GitHub as a git remote repository (https://github.com/ Jacky-lulu/cxf_demo-maven-webapp)

System: centos6.5

Maven:apache Maven 3.3.9

Git:git Version 2.0.0

1, first install Git, see a previous blog

Http://www.cnblogs.com/520playboy/p/6235070.html

2. Install Maven

The process of installing MAVEN is simple, after you download maven from the official website (http://maven.apache.org/download.cgi), unzip it directly to the/usr/local/directory and configure the/etc/profile

You can configure the MAVEN environment variable in the file and then source/etc/profile the file.

3. Install Jenkins

On the official website (https://jenkins.io/index.html) directly download a war package, I downloaded the LTS release version, will be more stable point, and then put directly into the Tomcat WebApps directory, start Tomcat can be

4. Access http://192.168.0.4:8080/jenkins/in the browser

Jenkins+git+maven build an automated deployment project environment

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.