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

When few FitNesse test results being published in a single job they renamed into Summary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: fitnesse-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.608;
      FitNesse Plugin 1.12
    • Similar Issues:

      Description

      Expected: Test name for published test results to always match content of <rootPath>.
      Actual: When job contains more than one FitNesse test results published then test name appears as "Summary".

      Steps to reproduce:
      Given you have two test suites: TestSuite1 and TestSuite2
      In a single job run TestSuite1 and produce TestSuite1.xml
      Run TestSuite2 and produce TestSuite2.xml
      Publish FitNesse tests using *.xml as a mask
      Upon execution FitNesse test results (and test history) will contain Summary as test name.

      P.S. Same would occur if you use copy artifacts plugin to collect all FitNesse XML files into a single job and publish them simultaneously.

        Attachments

          Activity

          Hide
          sergebug Serge Zukov added a comment -

          Apparently publishing multiple test results under a single build using plugin 1.12 is broken.
          If you publish two XML files then you will have two SUMMARY entries in FitNesse result with exact same content under each of the summaries. I believe the latest published XML takes precedence.
          I increased priority from minor to major.

          Show
          sergebug Serge Zukov added a comment - Apparently publishing multiple test results under a single build using plugin 1.12 is broken. If you publish two XML files then you will have two SUMMARY entries in FitNesse result with exact same content under each of the summaries. I believe the latest published XML takes precedence. I increased priority from minor to major.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: unknown
          Path:
          src/main/java/hudson/plugins/fitnesse/FitnessePlugin.java
          src/main/java/hudson/plugins/fitnesse/FitnesseResults.java
          src/main/java/hudson/plugins/fitnesse/FitnesseResultsRecorder.java
          src/main/java/hudson/plugins/fitnesse/NativePageCounts.java
          src/main/java/hudson/plugins/fitnesse/NativePageCountsParser.java
          src/test/java/hudson/plugins/fitnesse/NativePageCountsParserTest.java
          src/test/java/hudson/plugins/fitnesse/NativePageCountsTest.java
          http://jenkins-ci.org/commit/fitnesse-plugin/5667e5094717f11b589cb2c0e9d07ec1ac25e50a
          Log:
          Change way of loading template to not base on plug-in start method
          JENKINS-27936 When few FitNesse test results being published in a single job they renamed into Summary

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: unknown Path: src/main/java/hudson/plugins/fitnesse/FitnessePlugin.java src/main/java/hudson/plugins/fitnesse/FitnesseResults.java src/main/java/hudson/plugins/fitnesse/FitnesseResultsRecorder.java src/main/java/hudson/plugins/fitnesse/NativePageCounts.java src/main/java/hudson/plugins/fitnesse/NativePageCountsParser.java src/test/java/hudson/plugins/fitnesse/NativePageCountsParserTest.java src/test/java/hudson/plugins/fitnesse/NativePageCountsTest.java http://jenkins-ci.org/commit/fitnesse-plugin/5667e5094717f11b589cb2c0e9d07ec1ac25e50a Log: Change way of loading template to not base on plug-in start method JENKINS-27936 When few FitNesse test results being published in a single job they renamed into Summary
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: unknown
          Path:
          src/main/java/hudson/plugins/fitnesse/FitnesseResults.java
          src/main/java/hudson/plugins/fitnesse/FitnesseResultsRecorder.java
          src/main/java/hudson/plugins/fitnesse/NativePageCounts.java
          src/main/java/hudson/plugins/fitnesse/NativePageCountsParser.java
          src/test/java/hudson/plugins/fitnesse/NativePageCountsParserTest.java
          src/test/java/hudson/plugins/fitnesse/NativePageCountsTest.java
          http://jenkins-ci.org/commit/fitnesse-plugin/fa03f4e7387bc90b93a072f32bb464353c38a9c5
          Log:
          JENKINS-27936 When few FitNesse test results being published in a single job they renamed into Summary

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: unknown Path: src/main/java/hudson/plugins/fitnesse/FitnesseResults.java src/main/java/hudson/plugins/fitnesse/FitnesseResultsRecorder.java src/main/java/hudson/plugins/fitnesse/NativePageCounts.java src/main/java/hudson/plugins/fitnesse/NativePageCountsParser.java src/test/java/hudson/plugins/fitnesse/NativePageCountsParserTest.java src/test/java/hudson/plugins/fitnesse/NativePageCountsTest.java http://jenkins-ci.org/commit/fitnesse-plugin/fa03f4e7387bc90b93a072f32bb464353c38a9c5 Log: JENKINS-27936 When few FitNesse test results being published in a single job they renamed into Summary
          Hide
          antoine_aumjaud Antoine Aumjaud added a comment -

          fixed in version 1.13

          Show
          antoine_aumjaud Antoine Aumjaud added a comment - fixed in version 1.13

            People

            • Assignee:
              antoine_aumjaud Antoine Aumjaud
              Reporter:
              sergebug Serge Zukov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: