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

Duplicates in warnings plugin report

XMLWordPrintable

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

      I have one job that compiles the Java source 3 different times, one of them
      after instrumentation with clover. Each deprecation warning is counted three times.

      Extracts from the console output are pasted below for one warning. While the
      warning generating with clover might be more difficult to attach to the original
      code and I could probably tweak the build process to remove them, the first and
      third warnings are identical and could be merged.

      The clover warning also is not able to link to the source code in the detail tab
      as the source path starts with /tmp/clover[...].

      Let me know if you need more data from the log.

      Xavier

      [javac]
      /home/hudson/workspace/jobs/PMD-snapshot/workspace/pmd/src/net/sourceforge/pmd/ant/PMDTask.java:248:
      warning: [deprecation] render(java.io.Writer,net.sourceforge.pmd.Report) in
      net.sourceforge.pmd.renderers.Renderer has been deprecated
      [javac] public void render(Writer writer, Report r) {}
      [javac] ^
      ...
      [javac] /tmp/clover60419.tmp/net/sourceforge/pmd/ant/PMDTask.java:248:
      warning: [deprecation] render(java.io.Writer,net.sourceforge.pmd.Report) in
      net.sourceforge.pmd.renderers.Renderer has been deprecated
      [javac] public void render(Writer writer, Report r)
      {__CLR2_3_2rm9rm9fknlwssd.R.E[35916]++;}
      [javac] ^
      ...
      [javac]
      /home/hudson/workspace/jobs/PMD-snapshot/workspace/pmd/src/net/sourceforge/pmd/ant/PMDTask.java:248:
      warning: [deprecation] render(java.io.Writer,net.sourceforge.pmd.Report) in
      net.sourceforge.pmd.renderers.Renderer has been deprecated
      [javac] public void render(Writer writer, Report r) {}
      [javac] ^

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

              Created:
              Updated:
              Resolved: