From 8e78bf818e3de5efc2c66a193827678285ae11d2 Mon Sep 17 00:00:00 2001 From: Ed Kern Date: Wed, 11 Jul 2018 17:51:28 -0600 Subject: [PATCH] VPP: Ignore doc only changes Change to the checkstyle job to exclude everything in the docs directory. Change-Id: I0032d5c49a595f9cd1fe8ff11d2f006a58c6d854 Signed-off-by: Ed Kern --- jjb/vpp/vpp.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 374a7e6c5..889197d68 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -443,6 +443,8 @@ - draft-published-event - comment-added-contains-event: comment-contains-value: 'checkstylecheck' + - comment-added-contains-event: + comment-contains-value: 'docsonly' - comment-added-contains-event: comment-contains-value: 'recheck' - comment-added-contains-event: @@ -453,6 +455,13 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' + file-paths: + - compare-type: REG_EXP + pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$ + forbidden-file-paths: + - compare-type: REG_EXP + pattern: .*docs\/.* + disable-strict-forbidden-file-verification: 'true' override-votes: true gerrit-build-notbuilt-verified-value: 0 gerrit-build-successful-verified-value: 1 -- 2.16.6