mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 05:51:36 +08:00
Jenkins codecov.io add Flags for unit and mission tests
This commit is contained in:
Vendored
+2
-2
@@ -172,7 +172,7 @@ pipeline {
|
|||||||
sh 'make distclean; rm -rf .ros; rm -rf .gazebo'
|
sh 'make distclean; rm -rf .ros; rm -rf .gazebo'
|
||||||
sh 'ulimit -c unlimited; make tests_mission_coverage'
|
sh 'ulimit -c unlimited; make tests_mission_coverage'
|
||||||
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'
|
sh 'curl -s https://codecov.io/bash | bash -s - -F mission'
|
||||||
}
|
}
|
||||||
sh 'make distclean'
|
sh 'make distclean'
|
||||||
}
|
}
|
||||||
@@ -190,7 +190,7 @@ pipeline {
|
|||||||
sh 'make distclean'
|
sh 'make distclean'
|
||||||
sh 'ulimit -c unlimited; make tests_coverage'
|
sh 'ulimit -c unlimited; make tests_coverage'
|
||||||
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'
|
sh 'curl -s https://codecov.io/bash | bash -s - -F unittests'
|
||||||
}
|
}
|
||||||
sh 'make distclean'
|
sh 'make distclean'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user