使用Jenkins的Github Pull Request Builder不会触发

时间:2017-06-12 09:19:06

标签: github jenkins pull-request

我们遵循github流程。

开发人员将他们的代码推送到他们的forks并在原始存储库中提取请求。

我想要做的是使用Pull Requests不合并或任何东西触发构建。构建之后它应该在构建成功与否的PR中发表评论。

我按照以下说明操作:https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin

问题是我将日志视为:

  

2017年6月12日下午3:11:58 INFO   org.jenkinsci.plugins.github_branch_source.PullRequestGHEventSubscriber   onEvent收到https://github.com/organization/repo的PULL_REQUEST   从192.30.252.42⇒http://our-jenkins-server.com/github-webhook/ Jun   12,2017 3:11:58 PM INFO org.jenkinsci.plugins.ghprb.GhprbRootAction   handleAction检查组织/回购的PR#59

但不是任何触发器。它应该这样工作吗?

1 个答案:

答案 0 :(得分:0)

我遇到了同样的错误,然后意识到我需要在作业中添加此选项:

GitHub project
    Project url

截图

enter image description here

相关问题