Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to commit status back to github from Jenkins #816

Open
johankayati2019 opened this issue Apr 14, 2021 · 1 comment
Open

Unable to commit status back to github from Jenkins #816

johankayati2019 opened this issue Apr 14, 2021 · 1 comment

Comments

@johankayati2019
Copy link

johankayati2019 commented Apr 14, 2021

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

@kuchmiyalex
Copy link

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

@clouvet
Copy link

clouvet commented Jun 2, 2021

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 (#787 (comment)) suggested a restart of Jenkins after changing the GitHub token, and that fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants