Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67779

GitHubCommitStatusSetter does not accept credentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • github-plugin
    • None
    • github-plugin 1.33.1

      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.

            lanwen Kirill Merkushev
            cowlinator p cowlinator
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: