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

This issue is archived. You can view it, but you can't modify it. Learn more

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? 

            Assignee:
            Kezhi Xiong
            Reporter:
            Chris
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: