Skip to content

Commit

Permalink
kso-issue-376: Move deleteKindCluster() to e2e step
Browse files Browse the repository at this point in the history
  • Loading branch information
domhanak committed Feb 6, 2024
1 parent e7f8859 commit ef3419d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/jenkins/Jenkinsfile.e2e.cluster
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@ pipeline {
} catch (err) {
kind.exportLogs(kindLogsFolder)
sh 'make undeploy'
deleteKindCluster()
throw err
}
sh 'kubectl get pods -A'
deleteKindCluster()
}
}
}
Expand All @@ -130,7 +132,6 @@ pipeline {
cleanup {
script {
clean()
deleteKindCluster()
}
}
}
Expand Down

0 comments on commit ef3419d

Please sign in to comment.