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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Findbugs plugin 4.4 on Hudson 1.351, Windows 2003
    • Similar Issues:

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: