mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 02:31:35 +08:00
Jenkins store SITL unit test results
This commit is contained in:
Vendored
+18
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user