1.安装git在服务器,通过服务器拉取git的代码 2.安装maven,需要通过maven打包项目 http://t.csdn.cn/OODCj 安装成功后执行mvn package命令,成功打包。 3.写shell脚本 4.运行脚本进行打包发布