看起来我漏掉了什么。
我用git@github.omeorg.com/repo.git这样的SCM在Jenkins中设置了multibrunch jon,它扫描了所有当前的分支。
然后我在Github中设置了网页钩子,所有事件的网址都是http://jenkins.someorg.com/github-webhook/。
Github显示事件已成功发送。Jenkins日志显示事件已收到蜜蜂。
Received PUSH for https://github.someorg.com/repo from IP ⇒ http://jenkins.someorg.com/github-webhook/但Jenkins的工作本身什么都没发生...
发布于 2017-07-08 12:25:02
仔细检查"Setting up a GitHub webhook in Jenkins“
您需要确保您的构建触发器被设置为“当更改被推送到GitHub时构建”,当然还有一个GitHub repo url ;)

而且Jenkins应该已经有一个与所需的GitHub项目相关联的SSH密钥。
发布于 2017-07-08 12:27:47
找到解决方案了。我用的是Git repo。但是当我切换到带有API密钥的Github时,一切都正常了
https://stackoverflow.com/questions/44981311
复制相似问题