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

Identical Name and ID share same stdout values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • junit-plugin
    • Jenkins Ver: 2.176.2 Junit Plugin Ver: 1.28

      If I have a result.xml that has two records in it that have the same ID and same NAME, when Junit parses it the resulting junitResult.xml merges those two results together and has some fields that they share and then different 'cases' for specific fields that are not shared. These cases have fields that differentiate the two tests. The issue is that the stdout field is being stored as a merged value instead of an test/case specific value. SO then when you browse to the results on jenkins webpage you are not seeing the correct stdout for each test. This occurs because we have multiple different XMLs that are parsed together and each XML ID starts at 0.

        1. jenkins_web_result_1.png
          87 kB
          Marshall Adrian
        2. jenkins_web_result_2.png
          87 kB
          Marshall Adrian
        3. junitResults.xml.png
          1.20 MB
          Marshall Adrian
        4. results.rtf
          4 kB
          Marshall Adrian
        5. results.xml.png
          2.42 MB
          Marshall Adrian

            Unassigned Unassigned
            marshalla Marshall Adrian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: