Jenkins enable clang-tidy build

This commit is contained in:
Daniel Agar 2017-12-15 09:46:38 -05:00
parent cbdb08bb61
commit d7aa5df3cd
1 changed files with 12 additions and 13 deletions

25
Jenkinsfile vendored
View File

@ -215,19 +215,18 @@ pipeline {
stage('Test') {
parallel {
// temporarily disabled until build resources are available
//stage('clang-tidy') {
// agent {
// docker {
// image 'px4io/px4-dev-clang:2017-10-23'
// args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw'
// }
// }
// steps {
// sh 'make clean'
// sh 'make clang-tidy-quiet'
// }
//}
stage('clang tidy') {
agent {
docker {
image 'px4io/px4-dev-clang:2017-10-23'
args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw'
}
}
steps {
sh 'make clean'
sh 'make clang-tidy-quiet'
}
}
stage('tests') {
agent {