jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-43996] Improve message "Could not update commit status." when credentials are readonly
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
The message "Could not update commit status..." when credentials are read only does not help to solve the issue and benefit more of Jenkins.
Could we have an explanation, maybe a link to a FAQ page, to help user to setup credentials with permissions to update the status of the commit?
```
Could not update commit status. Message: {"message":"Must authenticate to access this API.","documentation_url":"https://developer.github.com/enterprise/2.9/v3"}
```
---
Originally reported by
cleclerc, imported from: Improve message "Could not update commit status." when credentials are readonly
Raw content of original issue
The message "Could not update commit status..." when credentials are read only does not help to solve the issue and benefit more of Jenkins.
Could we have an explanation, maybe a link to a FAQ page, to help user to setup credentials with permissions to update the status of the commit?
Could not update commit status. Message: {"message":"Must authenticate to access this API.","documentation_url":"https://developer.github.com/enterprise/2.9/v3"}
environment
```
* CloudBees Jenkins Enterprise 2.46.2.1-rolling
* github:1.26.2 'GitHub plugin'
* github-api:1.85 'GitHub API Plugin'
* github-branch-source:2.0.4 'GitHub Branch Source Plugin'
* github-oauth:0.27 'GitHub Authentication plugin'
```
2 attachments
- [about.md](https://issues.jenkins.io/secure/attachment/37520/about.md)
- [build.log](https://issues.jenkins.io/secure/attachment/37521/build.log)
Contributor guide
Assessment
This issue has not been assessed yet.