Allow case insensitive matching on companyName/repoName in GH plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The github jenkins documentation at https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin says:

      ```
      When creating a job, specify that is connects to git. Under "Github project", put in: git@github.com:Person/Project.git Under "Source Code Management" select Git, and put in git@github.com:Person/Project.git
      ```

      When we try git@github.com:<company>/<project>.git it does not work. However, https://github.com/<company>/<project> works for us.

      This causes a problem with push notifications, though. I get the following messages in the logs:

      ```
      May 13, 2015 4:05:26 PM FINE com.cloudbees.jenkins.GitHubWebHook
      Considering to poke webserver_test_master
      May 13, 2015 4:05:26 PM FINE com.cloudbees.jenkins.GitHubWebHook
      Skipped webserver_test_master because it doesn't have a matching repository.
      ```

      Presumably there are no names found in the addRepositories method in https://github.com/jenkinsci/github-plugin/blob/master/src/main/java/com/cloudbees/jenkins/GitHubRepositoryNameContributor.java

      Incidentally, it would be very helpful to have a logger in that function which details what URLs it is parsing and what names it gets (if any).

      Thanks for the very useful tool!

            Assignee:
            Kirill Merkushev
            Reporter:
            AngledLuffa
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: