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