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
+2 -2
View File
@@ -47,7 +47,7 @@ pipeline {
stage('unit tests') { stage('unit tests') {
steps { steps {
sh 'export' 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' junit 'build/px4_sitl_default/JUnitTestResults.xml'
} }
} }
@@ -176,7 +176,7 @@ pipeline {
steps { steps {
sh 'export' sh 'export'
sh 'make distclean' 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')]) { withCredentials([string(credentialsId: 'FIRMWARE_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) {
sh 'curl -s https://codecov.io/bash | bash -s - -F unittest' sh 'curl -s https://codecov.io/bash | bash -s - -F unittest'
} }