Jenkins配置github

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34049124/article/details/86150042

1、全局工具配置maven和git

2、github设置webhook:setting-》webhook

Payload URL设置为:服务器ip+8080/github-webhook

3、github获取token:Developer Settings-》Personal access token

4、系统管理—>系统设置—>GitHub --> Add GitHub Sever,Secret是步骤5生成的token

7、项目配置

猜你喜欢

转载自blog.csdn.net/qq_34049124/article/details/86150042