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

History trend should be shown only for at least two values

      In Warnings Plugin 5.0 beta:  I have a multi-configuration freestyle job that builds on 3 nodes, each having a different version of gcc.  Currently, 1 node reports 4 compiler warnings, the other 2 nodes report 0 warnings.  I have changed this job to use the new Warnings plugin.  Here is a screenshot of the report page for the job:

      As you can see, the History shows 0 warnings but the details shows 4 warnings.  This is inconsistent.  This is my main issue.

      Also, there's no indication of which node the warnings were detected on. But that was also true with the old plugin.

          [JENKINS-53553] History trend should be shown only for at least two values

          David Aldrich created issue -
          David Aldrich made changes -
          Description Original: In Warnings Plug 5.0:  I have a multi-configuration freestyle job that builds on 3 nodes, each having a different version of gcc.  Currently, 1 node reports 4 compiler warnings, the other 2 nodes report 0 warnings.  I have changed this job to use the new Warnings plugin.  Here is a screenshot of the report page for the job:

          !image-2018-09-13-11-01-36-935.png!

          As you can see, the History shows 0 warnings but the details shows 4 warnings.  This is inconsistent.  This is my main issue.

          Also, there's no indication of which node the warnings were detected on. But that was also true with the old plugin.
          New: In Warnings Plugin 5.0 beta:  I have a multi-configuration freestyle job that builds on 3 nodes, each having a different version of gcc.  Currently, 1 node reports 4 compiler warnings, the other 2 nodes report 0 warnings.  I have changed this job to use the new Warnings plugin.  Here is a screenshot of the report page for the job:

          !image-2018-09-13-11-01-36-935.png!

          As you can see, the History shows 0 warnings but the details shows 4 warnings.  This is inconsistent.  This is my main issue.

          Also, there's no indication of which node the warnings were detected on. But that was also true with the old plugin.

          David Aldrich added a comment -

          Sorry, my mistake. I missed the tiny dot on the graph. It's there and the trend will become clearer on further builds. Please close this.

          David Aldrich added a comment - Sorry, my mistake. I missed the tiny dot on the graph. It's there and the trend will become clearer on further builds. Please close this.
          Ulli Hafner made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Summary Original: Warnings 5.00 Beta: For multi-config project history graphic is incorrect New: History trend should be shown only for at least two values

          Ulli Hafner added a comment -

          For the trend in the job page I added a test to suppress the chart if there are not enough values, in the details view it is not yet implemented.

          Ulli Hafner added a comment - For the trend in the job page I added a test to suppress the chart if there are not enough values, in the details view it is not yet implemented.

          David Aldrich added a comment -

          Thanks.

          David Aldrich added a comment - Thanks.

          David Aldrich added a comment -

          How does one use the task scanning functionality? (to search for TODO etc).

          David Aldrich added a comment - How does one use the task scanning functionality? (to search for TODO etc).

          Ulli Hafner added a comment - - edited

          The task scanner has not been converted to the new API yet. It takes a little bit more time since some views need customization.

          Ulli Hafner added a comment - - edited The task scanner has not been converted to the new API yet. It takes a little bit more time since some views need customization.
          Ulli Hafner made changes -
          Component/s New: warnings-ng-plugin [ 24526 ]
          Component/s Original: warnings-plugin [ 15513 ]
          Ulli Hafner made changes -
          Rank New: Ranked higher

            Unassigned Unassigned
            davida2009 David Aldrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: