jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-43996] Improve message "Could not update commit status." when credentials are readonly

Open
#1,080 2 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 4
  • imported: 2025-12-02

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.