From: Trevor Bramwell Date: Mon, 2 Oct 2017 18:36:09 +0000 (-0700) Subject: Ignore Scenarios directory when yamllinting SFC X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=1233f8b2a7f2ad058ee49c8c074b3933237bef0b;p=releng.git Ignore Scenarios directory when yamllinting SFC These yaml files are for defining scenario in XCI and can be ignored for now. Change-Id: I48b1598406e34a5129c7c7dab73f6a06af6db82e Signed-off-by: Trevor Bramwell --- diff --git a/jjb/sfc/sfc-project-jobs.yml b/jjb/sfc/sfc-project-jobs.yml index 827be4ee9..bf60ff52c 100644 --- a/jjb/sfc/sfc-project-jobs.yml +++ b/jjb/sfc/sfc-project-jobs.yml @@ -67,4 +67,4 @@ name: sfc-unit-tests builders: - shell: | - cd $WORKSPACE && yamllint $(git ls-tree -r HEAD --name-only | egrep 'yml$|yaml$') + cd $WORKSPACE && yamllint $(git ls-tree -r HEAD --name-only | egrep 'yml$|yaml$' | egrep -v 'scenarios')