VPP: Ignore doc only changes 36/13436/2
authorEd Kern <ejk@cisco.com>
Wed, 11 Jul 2018 23:51:28 +0000 (17:51 -0600)
committerEd Kern <ejk@cisco.com>
Sun, 5 Aug 2018 23:25:49 +0000 (17:25 -0600)
Change to the checkstyle job to exclude everything
in the docs directory.

Change-Id: I0032d5c49a595f9cd1fe8ff11d2f006a58c6d854
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/vpp/vpp.yaml

index 374a7e6..889197d 100644 (file)
                 - 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:
                   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