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拉请求生成器“时生成。我还检查了“使用github钩子进行构建触发”
在"Manage“->”配置系统“”-> "Github拉请求生成器“下,我已经在”凭据“字段中设置了自动生成的凭据。

我已经在github上安装了webhooks,并且它对于任何被推入存储库的更改都可以正常工作,但是不工作于拉请求。
发布于 2015-09-10 13:15:03
我认为自动生成的凭据不起作用。
WARNING: credentialsId not set for context abc, using anonymous connection您需要在GitHub (https://github.com/settings/tokens)上生成一个令牌。默认作用域应提供必要的权限。然后,在全局Jenkins拉请求生成器配置中,使用GitHub用户名和生成的令牌添加新凭据。
https://stackoverflow.com/questions/32501446
复制相似问题