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

Warnings plugin displays two copies of warnings graph

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-plugin
    • None

      I have several jobs that use the Warnings plugin. When I look at the job page, I see 4 graphs on the roght-hand side, bearing the following 4 legends (above the graph in each case):

      1. Buckminster Warnings Trend
      2. Compiler Warnings Trend
      3. Open Tasks Trend
      4. Test Result Trend

      There should only be 3 graphs. The top two are reporting duplicate information. I think it changed to 4 graphs when I updated:

      • analysis-core@1.49 --> analysis-core@1.50
      • warnings@4.26 --> warnings@4.27

      This looks like it has happened in every job that uses the warnings plugin.

      I have attached a copy of a config that has the problem.

          [JENKINS-18852] Warnings plugin displays two copies of warnings graph

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/AggregatedWarningsProjectAction.java
          http://jenkins-ci.org/commit/warnings-plugin/f99bae018f83ffa9344f8bcef75ae2d48df91523
          Log:
          [FIXED JENKINS-18852] Do not show trend for aggregated result.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/AggregatedWarningsProjectAction.java http://jenkins-ci.org/commit/warnings-plugin/f99bae018f83ffa9344f8bcef75ae2d48df91523 Log: [FIXED JENKINS-18852] Do not show trend for aggregated result.

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/AggregatedWarningsResultAction.java
          src/main/java/hudson/plugins/warnings/WarningsPublisher.java
          http://jenkins-ci.org/commit/warnings-plugin/28eb7861e294d27cd0d46a7c829dbab7d69ae812
          Log:
          JENKINS-18852 Do not show health report for aggregated result.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/AggregatedWarningsResultAction.java src/main/java/hudson/plugins/warnings/WarningsPublisher.java http://jenkins-ci.org/commit/warnings-plugin/28eb7861e294d27cd0d46a7c829dbab7d69ae812 Log: JENKINS-18852 Do not show health report for aggregated result.

          I've just updated, and the fix works for me. Thanks, closing.

          Matthew Webber added a comment - I've just updated, and the fix works for me. Thanks, closing.

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

              Created:
              Updated:
              Resolved: