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

unit publisher skips line breaks

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • junit-plugin
    • None
    • Ubuntu, jenkins 2.46.3, latest unit publisher plugin

      A file js-test-results.xml with result containing line breaks:

      <testsuites name="jest tests">

        <testsuite name="ProductData" tests="1" errors="0" failures="1" skipped="0" timestamp="2017-06-21T10:19:58" time="1.518">

          <testcase classname="ProductData should return blabla" name="ProductData blabla" time="0.014">

            <failure message="Error: expect(a).toEqual(expected)

      Expected value to equal:

        {"byId": {}, "tags": {}}

      ...

       

      In Jenkins test results page it is displayed as one long line:

      Error: expect(a).toEqual(expected) Expected value to equal: {"byId": {}, "tags": {}}

            Unassigned Unassigned
            vorobievalex Alexander Vorobiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: