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

Should the default pattern be "**/findbugsXml.xml" instead of "**/findbugs.xml"?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • findbugs-plugin
    • None
    • Findbugs plugin 4.4 on Hudson 1.351, Windows 2003

      We were getting a "Can't copy file from workspace to build folder:" error when trying to view the source from findbugs. Searching online suggested that we change **/findbugs.xml to **/findbugsXml.xml, and that seems to have fixed the issue.

      However, if you leave the configuration box empty, the plugin still defaults to */findbugs.xml. Also, the help files suggest "*/findbugs.xml" is correct. Should this be changed?

      src\main\java\hudson\plugins\findbugs\FindBugsPublisher.java
      private static final String DEFAULT_PATTERN = "**/findbugs.xml";

      src\main\resources\hudson\plugins\findbugs\FindBugsPublisher\config*.properties (all languages)
      src\main\webapp\help*.html (all languages)

            drulli Ulli Hafner
            pmv pmv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: