From 5accf2482a68896fdc94dee0682c7d43006f4a90 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 9 May 2023 10:26:12 +0200
Subject: [PATCH] update Jenkinsfile to use unittest helm version 3

---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index abe747032..f39af0771 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -133,7 +133,7 @@ pipeline {
                     dir('src/main/helm') {
                         sh "helm lint -f test-values.yaml"
 
-                        sh "helm unittest -f '../../test/helm/*.yaml' -v '../../test/unit-values.yaml' ."
+                        sh "helm unittest --helm3 -f '../../test/helm/*.yaml' -v '../../test/unit-values.yaml' ."
 
                         sh "helm package --version=${HELM_CHART_VERSION} ."
 
@@ -152,7 +152,7 @@ pipeline {
                     dir('xta-adapter/src/main/helm') {
                         sh "helm lint -f test-values.yaml"
 
-                        sh "helm unittest -f '../../test/helm/*.yaml' -v '../../test/helm/values/unit-values.yaml' ."
+                        sh "helm unittest --helm3 -f '../../test/helm/*.yaml' -v '../../test/helm/values/unit-values.yaml' ."
 
                         sh "helm package --version=${HELM_CHART_VERSION} ."
 
-- 
GitLab