From ef3419d9e03a3dd790b82945f156f19bb8d73450 Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Tue, 6 Feb 2024 19:27:19 +0100 Subject: [PATCH] kso-issue-376: Move deleteKindCluster() to e2e step --- .ci/jenkins/Jenkinsfile.e2e.cluster | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/jenkins/Jenkinsfile.e2e.cluster b/.ci/jenkins/Jenkinsfile.e2e.cluster index 91eeb097b..68deac132 100644 --- a/.ci/jenkins/Jenkinsfile.e2e.cluster +++ b/.ci/jenkins/Jenkinsfile.e2e.cluster @@ -113,9 +113,11 @@ pipeline { } catch (err) { kind.exportLogs(kindLogsFolder) sh 'make undeploy' + deleteKindCluster() throw err } sh 'kubectl get pods -A' + deleteKindCluster() } } } @@ -130,7 +132,6 @@ pipeline { cleanup { script { clean() - deleteKindCluster() } } }