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

Compiler Warnings plugin does not process excludes correctly.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-plugin
    • None
    • Platform: All, OS: All

      This is with Hudson 1.290, and version 2.4 of the Compiler Warnings plugin. The
      problem was there with earlier versions on Hudson.

      Looking at the summary page for a build, I see the message "During parsing of
      the log file an error has been reported.". Following the link to the error
      messsages shows a series of messages of this form:

      "Module gda: Skipping file gda of module
      /scratch/hudson_workspace_master/GDA_trunk_gda/uk.ac.diamond.gda.core/classes/test/gda/_init_.py
      because it's empty."

      However, I have configured the plugin to exclude these files.

      Include pattern:
      uk.ac.diamond.gda.core/*/.java,uk.ac.diamond.gda.core/*/.py
      Exclude pattern:
      uk.ac.diamond.gda.core/**/_init_.py

      (these are relative to the workspace root, which is
      /scratch/hudson_workspace_master/GDA_trunk_gda).

      So, why is the plugin looking at the files? Doesn't the exclude list override
      the include list?

            drulli Ulli Hafner
            mwebber Matthew Webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: