CI: only lint modified files

This commit is contained in:
wpetit 2018-09-26 12:08:29 +02:00
parent 9367e5e79e
commit e4bb33e895

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ pipeline {
steps {
script {
try {
sh "make lint"
sh 'make LINT_ARGS="--new-from-rev=HEAD~" lint'
} catch(ex) {
currentBuild.result = "UNSTABLE"
}