Jenkins add ShellCheck

This commit is contained in:
Daniel Agar
2018-08-17 21:21:41 -04:00
committed by Lorenz Meier
parent 2164ef8fb6
commit 3c4c9131aa
3 changed files with 24 additions and 1 deletions

15
Jenkinsfile vendored
View File

@@ -160,6 +160,21 @@ pipeline {
}
}
stage('ShellCheck') {
agent {
docker {
image 'px4io/px4-dev-base:2018-08-23'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
}
}
steps {
sh 'export'
sh 'make distclean'
sh 'make shellcheck'
sh 'make distclean'
}
}
} // parallel
} // stage Analysis