Jenkins错误日志
Sep 10, 2015 11:26:55 AM org.jenkinsci.plugins.ghprb.GhprbTrigger stop
INFO: Stopping the ghprb trigger for project abc
Sep 10, 2015 11:26:55 AM org.jenkinsci.plugins.ghprb.GhprbTrigger start
INFO: Starting the ghprb trigger for the abc job; newInstance is true
Sep 10, 2015 11:26:55 AM org.jenkinsci.plugins.ghprb.GhprbGitHubAuth getBuilder
WARNING: credentialsId not set for context abc, using anonymous connection
Sep 10, 2015 11:26:57 AM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository
SEVERE: Could not retrieve GitHub repository named organization/abc (Do you have properly set 'GitHub project' field in job configuration$
java.io.FileNotFoundException: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
在配置设置中,在“构建触发器”部分,我检查了“将更改推送到Github时构建”和“Github Pull Request Builder”。 我还检查了“使用github挂钩进行构建触发”
在“管理jenkins”下 - > “配置系统” - > “Github Pull Request Builder” 我在“凭据”字段中设置了自动生成的凭据。
我已经在github上设置了webhooks,并且它可以正常工作,因为任何更改都被推送到存储库但不适用于pull请求。