build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-checkstyle-nonvoting:
+ - gerrit-trigger-checkstyle:
name: '{project}'
branch: '{branch}'
- 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