forked from Archive/PX4-Autopilot
Jenkins: use test board for unit and coverage test
This commit is contained in:
parent
8faf28918c
commit
6b37102b8e
|
@ -47,7 +47,7 @@ pipeline {
|
|||
stage('unit tests') {
|
||||
steps {
|
||||
sh 'export'
|
||||
sh 'make px4_sitl_default test_results_junit'
|
||||
sh 'make px4_sitl_test test_results_junit'
|
||||
junit 'build/px4_sitl_default/JUnitTestResults.xml'
|
||||
}
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ pipeline {
|
|||
steps {
|
||||
sh 'export'
|
||||
sh 'make distclean'
|
||||
sh 'make px4_sitl_default test_results_junit'
|
||||
sh 'make px4_sitl_test test_results_junit'
|
||||
withCredentials([string(credentialsId: 'FIRMWARE_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) {
|
||||
sh 'curl -s https://codecov.io/bash | bash -s - -F unittest'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue