Jenkins store SITL unit test results

This commit is contained in:
Daniel Agar
2019-11-04 14:04:40 -05:00
parent b8b7527d05
commit 7f930f875e
4 changed files with 19 additions and 134 deletions
Vendored
+18
View File
@@ -262,6 +262,24 @@ pipeline {
}
post {
always {
// Process the CTest xml output with the xUnit plugin
xunit (
testTimeMargin: '3000',
thresholdMode: 1,
thresholds: [
skipped(failureThreshold: '0'),
failed(failureThreshold: '0')
],
reduceLog: false,
tools: [CTest(
pattern: 'build/px4_sitl_test/Testing/**/*.xml',
deleteOutputFiles: true,
failIfNotNew: false,
skipNoTestFiles: true,
stopProcessingIfError: true
)]
)
sh 'make distclean'
}
}