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

Aggregate static analysis count only includes results of first Warnings Plugin workspace parser

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In my job configuration I have two workspace file parsers set up for the Warnings Plugin - one to parse a jshint.xml file using the provided JSLint parser, and one to parse a pylint.log file with the provided PyLint parser.

      Both of these correctly executed during the build, and in the build results each has an accurate count. But the aggregate "Static Analysis Warnings" section only includes the count of whichever warnings parser was defined first.

      Reversing the order of the warnings parsers changes the aggregate count to be short by the other one.

      (PyLint first, JSLint second):
      PyLint Warnings - 4 warnings
      JSLint Warnings - 118 warnings
      Task Scanner - 33 open tasks
      Static Analysis Warnings - 37 warnings

      (JSLint first, PyLint second):
      JSLint Warnings - 118 warnings
      PyLint Warnings - 4 warnings
      Task Scanner - 33 open tasks
      Static Analysis Warnings - 151 warnings

        Attachments

          Activity

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            eggilbert Evan Gilbert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: