Allow users to configure SCM hosts that will be ignored

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

XMLWordPrintable

    • github:1.34.0

      When using the GitHub plugin, if your project mixes both GitHub and non-GitHub repos (e.g. your project source is in GitHub but your Pipeline shared libraries are in Bitbucket), your Jenkins logs are polluted with endless warnings:

      WARNING c.c.jenkins.GitHubRepositoryName#create: Could not match URL ...
      

      I have seen this warning hundreds of times in the span of a few minutes on a busy master. Perhaps it would be worth simply logging this at DEBUG level rather than WARNING. Otherwise, I would propose adding a global config option where a user can list non-GitHub repos that are used in their environments, and the plugin will ignore these.

      See https://github.com/jenkinsci/github-plugin/blob/master/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java#L86

            Assignee:
            Allan BURDAJEWICZ
            Reporter:
            Owen Mehegan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: