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

Duplicates in warnings plugin report

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Platform: All, OS: All

    Description

      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] ^

      Attachments

        Activity

          xlv xlv created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          xlv xlv made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132389 ] JNJira + In-Review [ 201373 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: