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

GitHub Enterprise Server validation does not work when private mode is enabled

      The method checkApiUrlValidity() does not work fine when a GitHub Enterprise instance is configured in private mode.

      When I've added this method in GitHub API forget to check with this configuration:

      public void checkApiUrlValidity() throws IOException {
          retrieve().to("/", GHApiInfo.class).check(apiUrl);
      }
      

      Probably, we need to do changes in this plugin (to handle the error) and in GitHub API.

          [JENKINS-33318] GitHub Enterprise Server validation does not work when private mode is enabled

          Manuel Recena Soto created issue -
          Manuel Recena Soto made changes -
          Description New:
          Manuel Recena Soto made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Manuel Recena Soto made changes -
          Description Original:
          New: The method {{checkApiUrlValidity()}} does not work fine when a GitHub Enterprise instace is configured in {{private mode}}.

          When I've added this method in [GitHub API|https://github.com/kohsuke/github-api] forget to check with this configuration:

          {noformat}
          public void checkApiUrlValidity() throws IOException {
              retrieve().to("/", GHApiInfo.class).check(apiUrl);
          }
          {noformat}

          Probably, we need to do changes in this plugin (to handle the error) and in *GitHub API*.
          Manuel Recena Soto made changes -
          Description Original: The method {{checkApiUrlValidity()}} does not work fine when a GitHub Enterprise instace is configured in {{private mode}}.

          When I've added this method in [GitHub API|https://github.com/kohsuke/github-api] forget to check with this configuration:

          {noformat}
          public void checkApiUrlValidity() throws IOException {
              retrieve().to("/", GHApiInfo.class).check(apiUrl);
          }
          {noformat}

          Probably, we need to do changes in this plugin (to handle the error) and in *GitHub API*.
          New: The method {{checkApiUrlValidity()}} does not work fine when a GitHub Enterprise instance is configured in {{private mode}}.

          When I've added this method in [GitHub API|https://github.com/kohsuke/github-api] forget to check with this configuration:

          {noformat}
          public void checkApiUrlValidity() throws IOException {
              retrieve().to("/", GHApiInfo.class).check(apiUrl);
          }
          {noformat}

          Probably, we need to do changes in this plugin (to handle the error) and in *GitHub API*.
          Manuel Recena Soto made changes -
          Link New: This issue is related to JENKINS-33228 [ JENKINS-33228 ]
          Manuel Recena Soto made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Manuel Recena Soto made changes -
          Remote Link New: This issue links to "PR-1 (Web Link)" [ 14032 ]
          Manuel Recena Soto made changes -
          Remote Link New: This issue links to "PR-2 (Web Link)" [ 14033 ]
          Manuel Recena Soto made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Manuel Recena Soto made changes -
          Assignee Original: Manuel Recena Soto [ recena ] New: Jesse Glick [ jglick ]

            recena Manuel Recena Soto
            recena Manuel Recena Soto
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: