jenkins+gitee的坑

  1. 配置多分支流水线后,在Jenkins没有配置webhook的路径
  2. 只需要在gitee配置webhook即可
  3. 整个流程如下:
在Jenkins:
1. 安装gitee插件
2. 进入:配置 -> gitee配置
3. 配置提示配置,并测试通过

在gitee:
参考文章:https://plugins.jenkins.io/gitee/
配置webhood,如:
http://jenkins:APITOKEN@yourdomain.com:8080//project/projectname
其中密码为空即可
原文地址:https://www.cnblogs.com/testopsfeng/p/14005483.html