Ignore Scenarios directory when yamllinting SFC 41/43941/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 2 Oct 2017 18:36:09 +0000 (11:36 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 2 Oct 2017 18:36:09 +0000 (11:36 -0700)
These yaml files are for defining scenario in XCI and can be ignored for
now.

Change-Id: I48b1598406e34a5129c7c7dab73f6a06af6db82e
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/sfc/sfc-project-jobs.yml

index 827be4e..bf60ff5 100644 (file)
@@ -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')