CI: only lint modified files
This commit is contained in:
parent
9367e5e79e
commit
e4bb33e895
|
@ -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"
|
||||
}
|
||||
|
|
Reference in New Issue