
上QQ阅读APP看书,第一时间看更新
How to do it...
- Open the Jenkins dashboard.
- Go to Manage Jenkins.
- Go to Global Tool Configuration to configure the tools, their locations, and automatic installers.
- Go to the Maven section.
- Give the Name and click on Install Automatically, or give the path to the existing location where the Maven installation is available.
- You can give a logical name such as Maven 3.5.0 or Maven 3.4.0 to identify the correct version while configuring a build job:

- You can add multiple Mavens based on the version in Jenkins.