ghprb-plugin icon indicating copy to clipboard operation
ghprb-plugin copied to clipboard

Unable to commit status back to github from Jenkins

Open johankayati2019 opened this issue 5 years ago • 1 comments

getting this error in jenkins job. Webhook trigger works find but failing when try to commit status back.

this was working fine a week ago. we changed the github token recently and updated the same in jenkins . but still failing

Unable to query GitHub for status of PullRequestorg.kohsuke.github.HttpException: {"message":"Must authenticate to access this API.","documentation_url":"https://developer.github.com/enterprise/2.21/v3

johankayati2019 avatar Apr 14 '21 18:04 johankayati2019

Same issue after regenerating token. When testing from the plugin details page - all tests works, I'm able to change the commit status.

kuchmiyalex avatar May 20 '21 12:05 kuchmiyalex

I ran into a similar issue recently. All testing from the plugin detail page worked successfully, but pull requests would not update the commit status. This comment (https://github.com/jenkinsci/ghprb-plugin/issues/787#issuecomment-656877126) suggested a restart of Jenkins after changing the GitHub token, and that fixed the issue for me.

clouvet avatar Jun 02 '21 08:06 clouvet