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

Performance plugin doesn't parse JUnit reports correctly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: performance-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      The performance plugin doesn't parse the JUnit reports correctly (it uses the JMeter parser for them). This can be fixed by harcoding JUnitParser instead of JMeterParser in PerformanceReportMap, so that it looks like the following (around lines 62-63):

      if (files != null)

      { addAll(new JUnitParser("").parse(buildAction.getBuild(), Arrays.asList(files), listener)); }

      However a better fix is needed which selects the appropriate parser based on the current configuration.

        Attachments

          Issue Links

            Activity

            cdman Attila-Mihaly Balazs created issue -
            cdman Attila-Mihaly Balazs made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-5571 [ JENKINS-5571 ]
            cdman Attila-Mihaly Balazs made changes -
            Attachment performance-plugin-junit.patch [ 20473 ]
            manolo Manuel Carrasco made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 139829 ] JNJira + In-Review [ 188705 ]
            undera Andrey Pokhilko made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                manolo Manuel Carrasco
                Reporter:
                cdman Attila-Mihaly Balazs
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: