commit | b0f4e0080935b8698c33d62b5ad99420f79a09e8 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@opennetworking.org> | Thu Jul 23 09:37:23 2020 -0700 |
committer | Andy Bavier <andy@opennetworking.org> | Thu Jul 23 09:37:23 2020 -0700 |
tree | 501217a1dd4f086c6be9034fd7da9ab0d491daec | |
parent | 54e31c53c44a07ee0ef8ae091788cb5e92a5ff10 [diff] |
Pipeline changes for Helm v3 Change-Id: I7f22ea69401fd7261c454e955991aea989740341
diff --git a/jjb/pipeline/voltha-physical-build-and-tests.groovy b/jjb/pipeline/voltha-physical-build-and-tests.groovy index 96d3b2c..1aef43c 100644 --- a/jjb/pipeline/voltha-physical-build-and-tests.groovy +++ b/jjb/pipeline/voltha-physical-build-and-tests.groovy
@@ -238,7 +238,11 @@ sh returnStdout: false, script: """ helm repo add cord https://charts.opencord.org helm repo update - helm install -n voltha-kafka-dump cord/voltha-kafka-dump + if helm version -c --short|grep v2 -q; then + helm install -n voltha-kafka-dump cord/voltha-kafka-dump + else + helm install voltha-kafka-dump cord/voltha-kafka-dump + fi """ } }