Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-6956

When importing JUnit results via Jenkins, the test summary and definition is being displayed incorrectly

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • Xray Cloud - 4.005.000 -2
    • Continuous Delivery
    • Integration
    • None
    • UNCOVERED

    Description

      Description
      When using a Post-build Action in Jenkins to import JUnit results, the tests summary and definition created in Jira does not show as in the XML file.
      This does not happen when we import directly via Jira UI or REST API.

      Attached the results XML file used. results.xml

      Pre-conditions

      • Have a Jenkins project;
      • Have a "Xray: Results Import Task" with the following configuration (changing the file path and project Key accordingly):

      How to reproduce

      1. Go to a project in Jenkins where we have Xray: Results Import Task configured
      2. Click "Build Now" on the left menu
      3. See the tests in Jira

      Actual result/Attachments
      The tests appear with characters different from what is passed in the results XML

      Expected result
      The test summary and definition look equal to the XML file.

       

      Attachments

        Activity

          People

            nikhil.diwan Nikhil Diwan
            goncalo.nunes Gonçalo André Sousa Nunes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: