mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Jenkins code coverage build
This commit is contained in:
committed by
Lorenz Meier
parent
92d4a54012
commit
5234ba49ad
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@@ -283,6 +283,25 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('tests (code coverage)') {
|
||||
agent {
|
||||
docker {
|
||||
image 'px4io/px4-dev-ros:2018-03-30'
|
||||
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'export'
|
||||
sh 'make distclean'
|
||||
sh 'ulimit -c unlimited; make tests_coverage'
|
||||
sh 'ls'
|
||||
withCredentials([string(credentialsId: 'FIRMWARE_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) {
|
||||
sh 'curl -s https://codecov.io/bash | bash -s'
|
||||
}
|
||||
sh 'make distclean'
|
||||
}
|
||||
}
|
||||
|
||||
stage('check stack') {
|
||||
agent {
|
||||
docker {
|
||||
|
||||
Reference in New Issue
Block a user