Lab 4.1 - Install Maven Plugin

1. Sign in to master node on http://10.6X.6X.66:8080/ using the admin user

2. Start by going to Jenkins dashboard and click Manage Jenkins

3. Click Global Tools Configuration

4. Then scroll down to Maven, under Maven Installations, click Add Maven to install Maven. Fill:

  • Name: mvn3
  • Install automatically box is checked
  • Version: 3.5.4

5. Click Add Maven to install another Maven version

  • Name: mvn2
  • Install automatically box is checked
  • Version: 2.2.1

6. Click Save at the bottom of the screen to save the changes

7. Back to Manage Jenkins, click Manage Plugins

8. In the available tab, search maven

9. Select Maven Integration plugin, and click download now and install after restart button

10. Tick Restart Jenkins when installation is complete and no jobs are running

11. You have now installed two versions of Maven