github 拉取请求生成器不工作
github pull request builder not working
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"}
在 "Build Triggers" 部分的配置设置中,我检查了 "Build when a change is pushed to Github" 和 "Github Pull Request Builder"。
我也检查了 "Use github hooks for build triggering"
在"Manage jenkins"下 -> "Configure System" -> "Github Pull Request Builder"
我在 "credentials" 字段中设置了自动生成的凭据。
我在 github 上设置了 webhooks,它可以很好地处理推送到存储库但不适用于拉取请求的任何更改。
我认为自动生成的凭据不起作用。
WARNING: credentialsId not set for context abc, using anonymous connection
您需要在 GitHub (https://github.com/settings/tokens) 上生成一个令牌。默认范围应提供必要的权限。然后,在全局 Jenkins Pull Request Builder 配置中,使用您的 GitHub 用户名和生成的令牌添加新凭据。
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"}
在 "Build Triggers" 部分的配置设置中,我检查了 "Build when a change is pushed to Github" 和 "Github Pull Request Builder"。 我也检查了 "Use github hooks for build triggering"
在"Manage jenkins"下 -> "Configure System" -> "Github Pull Request Builder" 我在 "credentials" 字段中设置了自动生成的凭据。
我在 github 上设置了 webhooks,它可以很好地处理推送到存储库但不适用于拉取请求的任何更改。
我认为自动生成的凭据不起作用。
WARNING: credentialsId not set for context abc, using anonymous connection
您需要在 GitHub (https://github.com/settings/tokens) 上生成一个令牌。默认范围应提供必要的权限。然后,在全局 Jenkins Pull Request Builder 配置中,使用您的 GitHub 用户名和生成的令牌添加新凭据。