Technical work, should be praised and then see, form a habitCopy the code
Jenkins uses the tutorial related series catalog
background
Many Java projects are now managed using Maven, and Jenkins provides a great extension to build Java projects with Jenkins faster and better.
The installation
1. Select Manage Jekins -> Click Manage Plugins
2. Search for the Maven Integration plugin
Choose Direct installation
The picture is after installation
3, j.enkins Global Tool Configurationconfiguration
Maven configuration: Select the file and set the file path to settings. XML
JDK installation: Java environment variable configuration
Maven installation: Maven environment variable configuration
Apply, save.
4,Build the project
Choose to build a Maven project so you can build it