The answer turned out to be BoostTestJunitHudsonTestType. This is the code:
step([$class: 'XUnitBuilder',
thresholds: [[$class: 'FailedThreshold', unstableThreshold: '1']],
tools: [[$class: 'JUnitType', pattern: '**/surefire-reports/*.xml'],
[$class: 'JUnitType', pattern: '**/generatedJUnitFiles/JUnit/*.xml'],
[$class: 'BoostTestJunitHudsonTestType', pattern: '**/*_results.xml'],
]])
source
share