mardi 28 février 2017

Jenkins stops at first failure if a Qt Test Executable is executed with XML OUTPUT

Hi I'm executing QT test results with Jenkins, If no FAILURES are there then xunit output shows the passed tests. but if I want to generate a graph with 100 or more test failures (compiled with Qt creator, within Qtests in it) the TEMPORARY generated XML file of Jenkins contains only the first failure.It stops immediately after the first failure!.

This is the Execute Shell command: ./test_data_store -o "$WORKSPACE/generatedJUnitFiles/QTestlib/TEST_data_store.xml",xml

This generates the XML file: TEST_data_store.xml",xunitxml, The XML file contains all info needed to generate the report, but

Process xUnit test result report with pattern: generatedJUnitFiles/QTestlib/TEST_*.xml

(and all options are unchecked)

the generated output comes from a temporary XML FILE like: TEST--1573352231.xml, contains only the first failure.

all other +100 failures are skipped.

Why ?

Thanks. Ahmet

Aucun commentaire:

Enregistrer un commentaire