Details

    • Similar Issues:

      Description

      Steps to reproduce it
      1. Fresh Jenkins installation (using Jenkins ver. 2.0-rc-1)
      2. Create a new GitHub Organization
      3. As owner we choose GH2 (there is a GitHub User Account with this name)
      4. Save the job
      Result in the console output
      Started
      Consulting GitHub Organization
      Connecting to github.com with no credentials, anonymous access
      FATAL: GH2 does not correspond to a known GitHub User Account or Organization
      Finished: FAILURE
      

        Attachments

          Issue Links

            Activity

            recena Manuel Recena Soto created issue -
            recena Manuel Recena Soto made changes -
            Field Original Value New Value
            Priority Minor [ 4 ] Major [ 3 ]
            recena Manuel Recena Soto made changes -
            Description h5. Steps to reproduce it

            # Fresh Jenkins installation (using {{Jenkins ver. 2.0-rc-1}})
            # Create a new GitHub Organization
            # As {{owner}} we choose *GH2* (there is a GitHub User Account with this [name|https://github.com/GH2])
            # Save the job

            h5. Result in the console output

            {noformat}
            Started
            Consulting GitHub Organization
            Connecting to github.com with no credentials, anonymous access
            FATAL: GH2 does not correspond to a known GitHub User Account or Organization
            Finished: FAILURE
            {noformat}


            recena Manuel Recena Soto made changes -
            Priority Major [ 3 ] Minor [ 4 ]
            recena Manuel Recena Soto made changes -
            Labels testfest
            recena Manuel Recena Soto made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            recena Manuel Recena Soto made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            Hide
            recena Manuel Recena Soto added a comment - - edited

            For GitHub these URL are the same:

            1. https://github.com/RECENA
            2. https://github.com/recena

            This comparison should not be sensitive case:

            if (user != null && repoOwner.equals(user.getLogin())) {
                listener.getLogger().format("Looking up repositories of user %s%n%n", repoOwner);
                for (GHRepository repo : user.listRepositories()) {
                    add(listener, observer, repo);
                }
                return;
            }
            

            Idem for GH Organizations.

            Show
            recena Manuel Recena Soto added a comment - - edited For GitHub these URL are the same: https://github.com/RECENA https://github.com/recena This comparison should not be sensitive case: if (user != null && repoOwner.equals(user.getLogin())) { listener.getLogger().format( "Looking up repositories of user %s%n%n" , repoOwner); for (GHRepository repo : user.listRepositories()) { add(listener, observer, repo); } return ; } Idem for GH Organizations.
            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 (Web Link)" [ 14213 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: recena
            Path:
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/e7f4d3bcde4815e6a74317bd9329c3d897e6c612
            Log:
            JENKINS-34237 GH Organizations and GH User Accounts are searched using insensitive case

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java http://jenkins-ci.org/commit/github-branch-source-plugin/e7f4d3bcde4815e6a74317bd9329c3d897e6c612 Log: JENKINS-34237 GH Organizations and GH User Accounts are searched using insensitive case
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/f09a105d3d4e432b58a4f7285a24b4f2e1e4c05b
            Log:
            Merge pull request #44 from recena/JENKINS-34237

            JENKINS-34237 GH Org. and GH User Accounts are searched using insensitive case

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

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java http://jenkins-ci.org/commit/github-branch-source-plugin/f09a105d3d4e432b58a4f7285a24b4f2e1e4c05b Log: Merge pull request #44 from recena/ JENKINS-34237 JENKINS-34237 GH Org. and GH User Accounts are searched using insensitive case Compare: https://github.com/jenkinsci/github-branch-source-plugin/compare/80a151959a75...f09a105d3d4e
            recena Manuel Recena Soto made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170297 ] JNJira + In-Review [ 198832 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: