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

xUnit plugin fails to parse JUnit XML generated by trx2junit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • xunit-plugin
    • None

      I use https://github.com/gfoidl/trx2junit to convert TRX result files to JUnit (because the https://plugins.jenkins.io/junit plugin is so horribly memory-inefficient), however, xUnit does not accept its output:

      Value '0.4798998' is not facet-valid with respect to pattern '(([0-9]{0,3},)[0-9]{3}|[0-9]{0,3})(\.[0-9]{0,3})?' for type 'SUREFIRE_TIME'.

      Simply accepting 7 (or even 8) decimal digits instead of 3 should fix the problem.

       

            nfalco Nikolas Falco
            notdifficult Not Diff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: