[CORD-3050]v3 Better exclude for broken chart in voltha repo
Change-Id: If9f8cfbdab128c62cb9fc81bc20f1edca181d3d1
diff --git a/jjb/lint.yaml b/jjb/lint.yaml
index d1af69f..754f1fc 100644
--- a/jjb/lint.yaml
+++ b/jjb/lint.yaml
@@ -7,7 +7,6 @@
id: verify-licensed
name: 'verify_{project}_licensed'
description: |
- <!-- Managed by Jenkins Job Builder -->
Created by verify-licensed job-template from ci-management/jjb/lint.yaml
triggers:
@@ -50,7 +49,6 @@
id: verify-ansible-lint
name: 'verify_{project}_ansible-lint'
description: |
- <!-- Managed by Jenkins Job Builder -->
Created by verify-ansible-lint job-template from ci-management/jjb/lint.yaml
triggers:
@@ -93,7 +91,6 @@
id: verify-helm-lint
name: 'verify_{project}_helm-lint'
description: |
- <!-- Managed by Jenkins Job Builder -->
Created by verify-helm-lint job-template from ci-management/jjb/lint.yaml
triggers:
diff --git a/jjb/shell/helmlint.sh b/jjb/shell/helmlint.sh
index 16184c2..27cf676 100755
--- a/jjb/shell/helmlint.sh
+++ b/jjb/shell/helmlint.sh
@@ -34,7 +34,7 @@
chartdir=$(dirname "${chart}")
# update requirements if it exists. Skip voltha as it has non-clean reqirements
- if [ "${chartdir}" != "./voltha" ] && [ -f "${chartdir}/requirements.yaml" ]; then
+ if [[ ! $chartdir =~ voltha$ ]] && [ -f "${chartdir}/requirements.yaml" ]; then
helm dependency update "${chartdir}"
fi