CI: only lint modified files

This commit is contained in:
wpetit 2018-09-26 12:08:29 +02:00
parent 9367e5e79e
commit e4bb33e895
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

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