实现提交代码github自动通知jenkins编译部署

1. 首先确保你得jenkins已经安装了如下github的插件:

技术文章

2. 在jenkins里面修改job的配置,勾选 当有变动提交到github时自动build

技术文章

3. 登陆你的github, 进入你project的首页,点击Setting配置:

技术文章

点击Webhook & Services 添加一个webhook

技术文章

URL 就是 你的jenkins URL 加上 /github-webhook

技术文章


文章来自:http://blog.csdn.net/yaominhua/article/details/40679195
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3