The reason why jenkins is slow to solve maven
Settings.xml
Baijia
*
Http://172.30.0.238:8081/nexus/content/groups/public/
Default
Public
Http://172.30.0.238:8081/nexus/content/groups/public/
True
True
Default
Replace 172.30.0.238:8081/nexus/content/groups/public/ with private server address Ali Yun's address:
Http://maven.aliyun.com/nexus/content/groups/public
Setting.xml is under conf under the installation path of linux server mvn
The mvn command can customize the command of mvn in the global config tool configuration of jenkins