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