1. 环境配置jenkins安装 Maven Integration plugin插件配置maven,java等路径2. 2.新建item,选择构建maven项目a. 2.1 源码管理填入git地址、所使用授权用户、分支2.2 build配置Root POMpom.xmlGoals and options clean package -DskipTests2.3 Post Steps勾选Run only if build succeedsAdd post-build step-exec shel