[JENKINS-67779] GitHubCommitStatusSetter does not accept credentials
Class `GitHubCommitStatusSetter` does not accept credentials.
We are using a private Github Enterprise server which requires credentials for most REST API enpoints. `GitHubCommitStatusSetter` is surprisingly able to access the endpoint for setting commit status, but it is getting rate-limited because the rate-limit when no authorization token is passed is very low, while the rate-limit when an authorization token is passed is very high.
I would like to pass an authorization header with the POST request to the api endpoint used by `GitHubCommitStatusSetter`, and it should therefore accept a credential argument.
I'm sure there are other companies which cannot use `GitHubCommitStatusSetter` without credentials with their Github Enterprise server at all.
Originally reported by cowlinator, imported from: GitHubCommitStatusSetter does not accept credentials
- assignee:
lanwen
- status: Open
- priority: Critical
- component(s): github-plugin
- resolution: Unresolved
- votes: 2
- watchers: 4
- imported: 2025-12-08
Raw content of original issue
Class `GitHubCommitStatusSetter` does not accept credentials.
We are using a private Github Enterprise server which requires credentials for most REST API enpoints. `GitHubCommitStatusSetter` is surprisingly able to access the endpoint for setting commit status, but it is getting rate-limited because the rate-limit when no authorization token is passed is very low, while the rate-limit when an authorization token is passed is very high.
I would like to pass an authorization header with the POST request to the api endpoint used by `GitHubCommitStatusSetter`, and it should therefore accept a credential argument.
I'm sure there are other companies which cannot use `GitHubCommitStatusSetter` without credentials with their Github Enterprise server at all.
- environment:
github-plugin 1.33.1