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

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

XMLWordPrintable

      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? 

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

              Created:
              Updated: