Now that the team is in the mainstream or using MAVEN for project management, how do we use MAVEN's approach to continuous integration is that we need to install Maven's plugin into Jenkins, but we're going to take this step, MAVEN is also installed on our Linux machine.
So what do we do with the MAVEN installation under Linux?
First download Maven,maven's official website has, looks like the *****bin.tar.gz package carries on the download, uses the SSH way to upload the Linux machine to use the tool SSH Secure File Transfer The client carries on the transmission.
Unzip the file tar vxf apache-maven-3.2. 3-bin.tar.gz
Move to the/usr/local/maven3 folder under MV apache-maven-3.2. 3/usr/local/maven3
Installation is complete, then we configure the environment variables
Edit/etc/profile File Vim/etc/profile
Add the following at the end:
Maven_home=/usr/local/maven3export Maven_homeexport Path=${path}:${maven_home}/bin then runs to make the configuration effective: Source/etc/profile OK, verify that we installed MAVEN success Mvn-v should see the success prompt, then done.
Jenkins Automation Integration Road Linux installation maven