mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:47:35 +08:00
Jenkins upload coverage to codecov.io
This commit is contained in:
Vendored
+3
-1
@@ -83,7 +83,6 @@ pipeline {
|
||||
sh 'ccache -z'
|
||||
sh 'make distclean'
|
||||
sh 'make coverage'
|
||||
//sh 'bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}'
|
||||
sh 'make coverage_html'
|
||||
// publish html
|
||||
publishHTML target: [
|
||||
@@ -95,6 +94,9 @@ pipeline {
|
||||
reportFiles: '*',
|
||||
reportName: 'Code Coverage'
|
||||
]
|
||||
withCredentials([string(credentialsId: 'ECL_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) {
|
||||
sh 'curl -s https://codecov.io/bash | bash -s'
|
||||
}
|
||||
sh 'ccache -s'
|
||||
sh 'make distclean'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user