1 认识Jenkins
1) Continuous integration 持续集成
2) Continuous Delivery 持续交付
2 安装
1) https://jenkins.io/download/
2) java -jar xxx.jar --port 8089
3 配置
1) 全局配置:maven,git
2)配置插件
3) 创建job
a
b 发布 https://www.jdev.it/deploying-your-war-file-from-jenkins-to-tomcat/
4)Jenkins中build trigger生成的url填到gitlab的settings的hooks里面