Jenkins Automation Integration Road Linux installation maven

Source: Internet
Author: User
Tags ssh secure file transfer

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

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.