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 cb44572 commit b3b784e
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 b3b784e

Please sign in to comment.