Jenkins + GitHub插件webhooks无法正常工作

Dmi*_*nko 2 github webhooks jenkins

我正在使用最新的(v1.10)Jenkins GitHub插件,Jenkins v1.1我的webhook集成失败并出现错误:

java.lang.IllegalArgumentException: Github Webhook event of type ping is not supported. Only push events are current supported
Run Code Online (Sandbox Code Playgroud)

看起来GitHub正在使用某种不支持的"ping"事件.或者有一些配置缺失?

sti*_*sti 5

您不应该使用原始webhook,而是从Add Service菜单中选择"Jenkins(Github插件)".