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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            recena Manuel Recena Soto created issue -
            recena Manuel Recena Soto made changes -
            Field Original Value New Value
            Description
            recena Manuel Recena Soto made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            recena Manuel Recena Soto made changes -
            Description
            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*.
            recena Manuel Recena Soto made changes -
            Description 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*.
            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*.
            recena Manuel Recena Soto made changes -
            Link This issue is related to JENKINS-33228 [ JENKINS-33228 ]
            recena Manuel Recena Soto made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            recena Manuel Recena Soto made changes -
            Remote Link This issue links to "PR-1 (Web Link)" [ 14032 ]
            recena Manuel Recena Soto made changes -
            Remote Link This issue links to "PR-2 (Web Link)" [ 14033 ]
            recena Manuel Recena Soto made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            recena Manuel Recena Soto made changes -
            Assignee Manuel Jesús Recena Soto [ recena ] Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            recena Manuel Recena Soto made changes -
            Assignee Manuel Jesús Recena Soto [ recena ]
            recena Manuel Recena Soto made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            recena Manuel Recena Soto made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 169220 ] JNJira + In-Review [ 198565 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: