Jenkins: use test board for unit and coverage test

This commit is contained in:
Julian Oes 2018-12-11 09:57:14 +01:00
parent 8faf28918c
commit 6b37102b8e
1 changed files with 2 additions and 2 deletions

View File

@ -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'
}