...
Code Block | ||||
---|---|---|---|---|
| ||||
pipeline { agent any stages { stage('Test'){ steps { sh "run_tests.bash" } } } post { always{ xunit ( thresholds: [ skipped(failureThreshold: '0'), failed(failureThreshold: '0') ], tools: [ BoostTest(pattern: 'boost/*.xml') ]) ) } } } |
Releases
Version 2.3.0
Improvements
- JENKINS-45826 XUnit support for distinguishing test reports from different steps (abayer)
Bugfixes
- JENKINS-53635 xUnit step failure is not displayed (Evildethow)
Version 2.2.5
Improvements
- JENKINS-51645 Add support for claims plugin in xUnit (nfalco79 to Arnaud)
- JENKINS-24224 improve xunit plugin with test-stability plugin (nfalco79 to Arnaud)
Bugfixes
- JENKINS-53186 NUnit 2.x test cases with result Error are reported as Success (nfalco79)
- Fix lookup strategy when user provides a custom stylesheets file to override the embedded one (nfalco79)
Version 2.2.3
Bugfixes
- JENKINS-53034 Failure when validate NUnit 2.x reports generated by NUnit 3.x console (nfalco79)
- JENKINS-53036 NPE after upgrade to 2.2.1 when run publisher (nfalco79)
Version 2.2.1
Improvements
- JENKINS-51645 Add support for claims plugin in xUnit (nfalco79 to Arnaud)
- JENKINS-24224 improve xunit plugin with test-stability plugin (nfalco79 to Arnaud)
Bugfixes
- JENKINS-52908 Newlines get ignored in failure message and possibly stack trace when uploading xUnitDotNet xml results (nfalco79)
Version 2.1.0
Improvements
- JENKINS-32920 Support for URL for stylesheet in Custom Tool (nfalco79)
Bugfixes
- JENKINS-52512 Builds on slave node fails when there is no report file even if set to do not fail (nfalco79)
- JENKINS-52400 xUnit miss to add required attributes when converts Valgrind reports (nfalco79)
Version 2.0.4
Improvements
- Improved GoogleTest, FPCUnit, CppTest XSLT to produce a report more compliant with surefire XSD
Bugfixes
- JENKINS-52327 java.nio.file.AccessDeniedException on Publish xunit Custom tool test report (nfalco79 to greghoeppner)
- JENKINS-52202 xUnit reports "All test reports are empty" in case of parallel steps but reports are not empty (nfalco79)
- JENKINS-52253 xUnit in case of multiple tool type processes only the first one (nfalco79)
- JENKINS-52173 xUnit fails when converting gtester/glib2 input to junit format (nfalco79)
Version 2.0.3
Bugfixes
- JENKINS-51604 XPathExeption when parsing QtTestLib Reports when a Test contains multiple Incidents (nfalco79)
- JENKINS-27860 Build does not stop if it is marked as Failure when the opportune option is enabled (nfalco79)
- JENKINS-47194 xUnit should not consider report generated by other xUnit step (nfalco79)
- JENKINS-52107 Convertion exception for NUnit 2.1 reports because nunit-version attribute not contains only digits (nfalco79)
Version 2.0.2
Bugfixes
- JENKINS-41093 For Unittest++ xml, only the first failure of each test case is recognized (nfalco79)
- JENKINS-51767 xUnit 2.x XSD does not validate NUnit 2.x XML report file (nfalco79)
- JENKINS-51797 xUnit.Net v2 parse error when time attribute is missing (nfalco79)
- JENKINS-51798 GoogleTest parse error when time attribute is missing (nfalco79)
Version 2.0.1
Improvements
- Improved GoogleTest, FPCUnit, CppTest XSLT to produce a report more compliant with surefire XSD
Bugfixes
- JENKINS-51561 xUnit plugin fails to parse NUnit 2 report format generated by NUnit 3.6.0.0 (nfalco79)
- JENKINS-51465 Exception in XSL Transformation cause JEP-200 (nfalco79)
- JENKINS-51481 Parse error occur when NUnit report have categories (nfalco79)
- JENKINS-26227 xUnit plugin doesn't use OS culture when reads time values in xUnit.net output (nfalco79)
- JENKINS-12417 xUnit problems with CppTest reports generated with default options (nfalco79)
- JENKINS-28871 CppTest 9.5 report file seems not valid for xUnit when no tests was executed (nfalco79)
...
In case you are using a tools that declares to produce a NUnit 2 compatible report, ensure the report respects the official schemas. If not than select as test type the build step "Custom Tool" and provide a XSL as described here.
Improvements
- Improved MSTest, MbUnit, AUnit, NUnit, QtTest XSLT to produce a report more compliant with surefire XSD
- Change UI rendering of the report tool and clarify the pattern description
- JENKINS-37611 Add support for pipeline using @Symbol annotation to xunit and its parameters (nfalco79)
Bugfixes
- JENKINS-42715 xUnit does not support PHPUnit 5.x skipped attribute (nfalco79 to ray)
- JENKINS-47194 xUnit should not consider report generated by other xUnit step (nfalco79)
- JENKINS-10911 xUnit not detecting Ignored MSTest and NUnit Tests (nfalco79)
- JENKINS-51347 Test Status "notrun" being reported as "failed" test (nfalco79)
- JENKINS-13113 xUnit plugins detects MSTEST "NotExecuted" as successed instead of skipped (nfalco79)
Version 1.104
Improvements
JENKINS-33450 Support for NUnit3 which uses a different XML format by NUnit2 (nfalco79 to alexschwantes)
- JENKINS-50658 Fix xsd to be compliant with surefire report and rerun option (nfalco79 to alemorato)
- Move plugin to pipeline so that commits and pull request could be checked for test failure
Bugfixes
- JENKINS-48945 Testreport lacks of those test in which the hashcode of two different testsuite name coincide (nfalco79)
JENKINS-33385 Testresult doesn't show test name in case the package is empty (nfalco79 to )
- JENKINS-51056 xUnit throws NPE when no threshold was specified (nfalco79)
- JENKINS-35660 QTestLib time information is lost (nfalco79 to kpop)
Version 1.103
Improvements
- Move plugin to pipeline so that commits and pull request could be checked for test failure
Bugfixes
- JENKINS-28471 xUnit should compare test results to last build where tests was recorded to calculate correctly thresholds (nfalco79 to Jimilian)
- JENKINS-50378 Skipped count percentage is affected by integer rounding (nfalco79 to pauljohnston2009)
- JENKINS-42031 xUnit Plugin Does Not Parse Some Boost 1.63 Test Reports (nfalco79 to aschet)
- Relax BoostTest code line validation (nfalco79 to penberg)
Version 1.102
- Ensure testuite time attribute is valid for NUnit
Version 1.101
- Fix JENKINS-24382 - Add basic support for Unit
...
- Fix JENKINS-30812 - added parsing for gtest errors so that a failure to run a test is considered a test failure
- Fix JENKINS-27240 - Workflow integration XUnit as a SimpleBuildSte