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

Checks are sending to github.com instead of our github server

      On Jenkins 2.401.1 and Checks API plugin 2.0.0
      We upgraded github-checks-plugin] from 1.0.19 to 545.v79a_a_68b_ca_682

      The plugin now thinks our GitHub API URL is https://api.github.com instead of the GitHub Enterprise servers we have configured in Manage Jenkins -> Configure System.

      Replacing our GitHub Org and Repo name, the error we get is:

      [GitHub Checks] Failed Publishing GitHub checks: org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/MyOrg/MyRepo {"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#get-a-repository"} 

      Maybe the plugin is overriding our GitHub server config somehow? We are using http currently as well, that could also be an issue? 

          [JENKINS-71475] Checks are sending to github.com instead of our github server

          Tim Jacomb added a comment -

          Tim Jacomb added a comment - Possibly caused by https://github.com/jenkinsci/github-checks-plugin/pull/341 ?

          Tim Tippens added a comment -

          We encountered this as well - it was stalling some builds as well as spamming the jenkins & build logs. We have reverted to 536.v2e4ea_8fa_e423 in order to mitigate this issue.

          Tim Tippens added a comment - We encountered this as well - it was stalling some builds as well as spamming the jenkins & build logs. We have reverted to 536.v2e4ea_8fa_e423 in order to mitigate this issue.

            xiongkezhi Kezhi Xiong
            cdee_bam Chris
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: