From efa8320c292ce559fba00e332e962dc03cab981f Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 26 Mar 2024 12:52:20 +0100
Subject: [PATCH] e2e activate delete test namespaces

---
 alfa-client/apps/alfa-e2e/Jenkinsfile | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/alfa-client/apps/alfa-e2e/Jenkinsfile b/alfa-client/apps/alfa-e2e/Jenkinsfile
index cbd4330588..db5c18de8b 100644
--- a/alfa-client/apps/alfa-e2e/Jenkinsfile
+++ b/alfa-client/apps/alfa-e2e/Jenkinsfile
@@ -494,17 +494,17 @@ Void generateNamespaceYaml(String bezeichner, String valuesPathSuffix) {
 }
 
 Void deleteOzgCloudStack(ozgCloudBezeichner) {
-//    for(bezeichner in ozgCloudBezeichner) {
-//        if (hasNamespaceFile(bezeichner)) {
-//            removeNamespaceFile(bezeichner)
-//        }
-//    }
+    for(bezeichner in ozgCloudBezeichner) {
+        if (hasNamespaceFile(bezeichner)) {
+            removeNamespaceFile(bezeichner)
+        }
+    }
 
-//    pushGitopsRepo()
+    pushGitopsRepo()
 
-//    for(bezeichner in ozgCloudBezeichner) {
-//        waitForDeletion(bezeichner)
-//    }
+    for(bezeichner in ozgCloudBezeichner) {
+        waitForDeletion(bezeichner)
+    }
 }
 
 Void removeNamespaceFile(String bezeichner) {
-- 
GitLab