【发布时间】:2018-03-09 00:35:08
【问题描述】:
我有一个这样配置的多分支管道作业:
还为它配置了轮询:
当新的提交被推送到其配置的 Git 存储库时,在轮询之后,作业会按预期触发。在控制台输出中,Git 存储库记录为 https://stash.example.com/scm/eg/project.git。
但是,当我尝试使用 git notifyCommit webhook 触发作业时,我收到以下错误消息:
$ curl 'http://jenkins.example.com/git/notifyCommit?url=https://stash.example.com/scm/eg/project.git'
No git jobs using repository: https://stash.example.com/scm/eg/project.git and branches:
No Git consumers using SCM API plugin for: https://stash.example.com/scm/eg/project.git
这里缺少什么?为什么 Jenkins 找不到任何工作/git 消费者来触发这个 repo?
【问题讨论】:
标签: jenkins