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

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
            src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html
            http://jenkins-ci.org/commit/github-branch-source-plugin/80a151959a75a0bd7665d39f9c0696ef6a1c988c
            Log:
            Merge pull request #46 from recena/JENKINS-33318

            JENKINS-33318 GHE server validation with private mode enabled

            Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/8a607fb0e7c8...80a151959a75

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html http://jenkins-ci.org/commit/github-branch-source-plugin/80a151959a75a0bd7665d39f9c0696ef6a1c988c Log: Merge pull request #46 from recena/ JENKINS-33318 JENKINS-33318 GHE server validation with private mode enabled Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/8a607fb0e7c8...80a151959a75
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: recena
            Path:
            pom.xml
            http://jenkins-ci.org/commit/github-branch-source-plugin/2a812c2eea6e4d989c116180bb15cc1bbc8c72d7
            Log:
            JENKINS-33318 Upgraded github-api dependency

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: pom.xml http://jenkins-ci.org/commit/github-branch-source-plugin/2a812c2eea6e4d989c116180bb15cc1bbc8c72d7 Log: JENKINS-33318 Upgraded github-api dependency
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: recena
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
            src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html
            http://jenkins-ci.org/commit/github-branch-source-plugin/42655c54e7eee809208b0845404d7b3fb3157a16
            Log:
            JENKINS-33318 GHE server validation with private mode enabled

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html http://jenkins-ci.org/commit/github-branch-source-plugin/42655c54e7eee809208b0845404d7b3fb3157a16 Log: JENKINS-33318 GHE server validation with private mode enabled
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
            src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html
            http://jenkins-ci.org/commit/github-branch-source-plugin/8a607fb0e7c8e374e567d177ed84e2b432c49679
            Log:
            Merge pull request #45 from jenkinsci/revert-27-JENKINS-33318

            Revert "JENKINS-33318 GHE server validation with private mode enabled"

            Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/af04b025e3fd...8a607fb0e7c8

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html http://jenkins-ci.org/commit/github-branch-source-plugin/8a607fb0e7c8e374e567d177ed84e2b432c49679 Log: Merge pull request #45 from jenkinsci/revert-27- JENKINS-33318 Revert " JENKINS-33318 GHE server validation with private mode enabled" Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/af04b025e3fd...8a607fb0e7c8
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java
            src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html
            http://jenkins-ci.org/commit/github-branch-source-plugin/58db4cc1545ad5cf4e968f3513d218b5ce22e0f4
            Log:
            Revert "JENKINS-33318 GHE server validation with private mode enabled"

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/Endpoint.java src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri.html http://jenkins-ci.org/commit/github-branch-source-plugin/58db4cc1545ad5cf4e968f3513d218b5ce22e0f4 Log: Revert " JENKINS-33318 GHE server validation with private mode enabled"

              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: