Steps :

  1. I configure the project in Jenkins with a plug-in of publication of results in TestRail in Post-Build Actions
  2. I run the test
  3. Watching Allure results
  4. I watch the result of the build run in TestRail

Expected result :

I see the result of the run in Allure

I see the result of the run in TestRail

Actual result :

The result of the run in Allure is visible

TestRail run result is not visible.

Question : how to get the xml file of the result of the run in Allure and unload it into TestRail and how to properly configure the integration between them

run result

plug-in setting

    1 answer 1

    TestRail does not support the Allura data format.

    The description of the TestRail Jenkins Plugin says that it supports XML upload in JUnit format.

    • Look, the name is familiar. Not for nothing) - Nick Volynkin
    • So I have to ask Allure for the result in the form of an XML report, then send it to JUnit, after processing which I send the result to TesRail? - Vitaly Aduchiev
    • for JUnit tests, a default XML report is usually generated in its format (when using surefire in Maven, in the ${basedir}/target/surefire-reports folder, in Gradle in the build/test-results/test folder). They need to be sent to TestRail - Dmitry Baev