From e4bb33e895c58e26d6aabdfc3c9476ce8ccd71c6 Mon Sep 17 00:00:00 2001 From: William Petit Date: Wed, 26 Sep 2018 12:08:29 +0200 Subject: [PATCH] CI: only lint modified files --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4cd7ece..03b3249 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" }