jenkins build maven project

Build and deploy maven project using jenkins

Because we are a custom plugin at the beginning, so the maven -style project is not displayed when building the project. If we want to use maven , we must install the plugin here , we are in the plugin manager,

You can see many categories of plugins, which can be divided into these categories:

.net build

We can find the Maven Integration plug-in from Build tools , install the plug-in, and then restart jenkins . One of the plug-ins is Deploy to container . This plug-in directly converts

The war package is published to tomcat . Here we can install it or not because we don't need it.

Restart jenkins , browser input: http://39.106.11.3:8080/jenkins/restart

After the restart is complete, we can use jenkins to perform automated builds and deployments .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324907722&siteId=291194637