Skip to content
Snippets Groups Projects
Commit b1315a71 authored by Daniel Agar's avatar Daniel Agar
Browse files

Jenkins add cppcheck build

parent 67011187
No related branches found
No related tags found
No related merge requests found
......@@ -272,6 +272,28 @@ pipeline {
}
}
stage('cppcheck') {
agent {
docker {
image 'px4io/px4-dev-base:ubuntu17.10'
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 cppcheck'
// publish html
publishHTML target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'build/cppcheck/*',
reportFiles: '*',
reportName: 'cppcheck'
]
}
}
stage('tests') {
agent {
docker {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment