I'm in the process of migrating our old Jenkins build to a declarative pipeline. We use the xUnit plugin to publish unit tests and for JUnit the following works just fine:
step([$class: 'XUnitBuilder',
thresholds: [[$class: 'FailedThreshold', unstableThreshold: '1']],
tools: [[$class: 'JUnitType', pattern: '**/surefire-reports/*.xml'],
[$class: 'JUnitType', pattern: '**/generatedJUnitFiles/JUnit/*.xml'],]
])
My problem is that I cannot figure out how to publish our boost tests. Is there a BoostType similar to JUnitType, or are boost tests not supported yet?