From 46ccaa3022258441a7d0c56bf9255f3382632079 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 5 Jan 2024 15:05:53 +0100
Subject: [PATCH] OZG-4453 fix jenkinsfile rollout step

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

diff --git a/Jenkinsfile b/Jenkinsfile
index 501a9fa..1d99b77 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -276,7 +276,7 @@ Void setNewOperatorVersion(String environment) {
 }
 
 Void updateKeycloakOperatorVersions(String environment){
-    def valuesFile = getApplicationValues(environment, KEYCLOAK_OPERATOR_NAME)
+    def envFile = getApplicationValues(environment, KEYCLOAK_OPERATOR_NAME)
     def envVersions = readYaml file: envFile
 
     envVersions.ozgcloud_keycloak_operator.image.tag = IMAGE_TAG
@@ -286,7 +286,7 @@ Void updateKeycloakOperatorVersions(String environment){
 }
 
 Void updateElasticsearchOperatorVersions(String environment){
-    def valuesFile = getApplicationValues(environment, ELASTICSEARCH_OPERATOR_NAME)
+    def envFile = getApplicationValues(environment, ELASTICSEARCH_OPERATOR_NAME)
     def envVersions = readYaml file: envFile
 
     envVersions.ozgcloud_elasticsearch_operator.image.tag = IMAGE_TAG
-- 
GitLab