summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKingPoo <haojingbo@huawei.com>2016-12-28 02:52:51 -0500
committerKingPoo <haojingbo@huawei.com>2016-12-28 02:52:51 -0500
commite513a1c80ec2987dc4508f96e4979c699669ed2c (patch)
tree35a94d5971c131214c4adb06d85f3d68890ab51d
parentf844cacccc10abfe5dfe6aabca327081dd0f8a68 (diff)
Add YAMLLint for static check
JIRA: OCTO-160 Current CI commit gate is simple, just have flake8 check in part of projects, it's better to apply more check tools to more projects. Yaml files could be checked by YAMLLint when the project is configed in releng. YAMLLint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. lf-build1 is something wrong with git, it will affect compass4nfv's patch to check in. So cancel the config of project-pattern. Change-Id: I9ffdd4280a9aedf60c302ca67f5d4575fe03c1a6 Signed-off-by: KingPoo <haojingbo@huawei.com>
-rw-r--r--jjb/releng/opnfv-lint.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/releng/opnfv-lint.yml b/jjb/releng/opnfv-lint.yml
index cd122d895..ff1ba4f37 100644
--- a/jjb/releng/opnfv-lint.yml
+++ b/jjb/releng/opnfv-lint.yml
@@ -102,7 +102,7 @@
comment-contains-value: 'reverify'
projects:
- project-compare-type: 'REG_EXP'
- project-pattern: 'compass4nfv'
+ project-pattern:
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'