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
      

          [JENKINS-34237] Not found a GH User Account

          Manuel Recena Soto created issue -
          Manuel Recena Soto made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Manuel Recena Soto made changes -
          Description New: 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}


          Manuel Recena Soto made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Manuel Recena Soto made changes -
          Labels New: testfest
          Manuel Recena Soto made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Manuel Recena Soto made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

          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.

          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.
          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 (Web Link)" [ 14213 ]

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

              Created:
              Updated:
              Resolved: