Hi, i was wondering if it is possible to perform a custom stylesheet transformation against the junit report files before jenkins collects the junit result? Or are there other ways to modify the junit report xml before the report is collected by jenkins. we are using maven and the surefire plugin for the build. Problem is that jenkins immediately collects the result, before i have a chance to perform my stylesheet transformation (even if the transformation happens within the same maven goal).
background: we are running non parameterized tests, however we want to print some information in the name of the testcase so it actually looks like a parameterized test. the parameters are dynamic, this is why we cannot write the unit tests as parameterized. for easier handling we want to put the parameters on which the test fails in the name of the test: e.g. ... <testcase time="113.206" classname="com.company.test.testsystem.TestSystemDataFieldPropertiesTest" name="testViaClientSimulator [marketCountry=CH,vehicleId=1690061]"> ... The parameters marketCountry and vehicle id are added via a stylesheet transformation after the test has finished (information is gathered from the stacktrace). Any ideas how i can perform the transformation before jenkins collects the results.? thanks in advance, Cheers, Andy