Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54785

Allow users to configure SCM hosts that will be ignored

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              lanwen Kirill Merkushev
              Reporter:
              owenmehegan Owen Mehegan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: