mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Fix jenkins/hack/e2e.sh, log errors better
This commit is contained in:
parent
827dcbc623
commit
0b456e40bf
@ -46,3 +46,5 @@ echo "... calling setup-logging-firewall" >&2
|
||||
setup-logging-firewall
|
||||
|
||||
echo "Done" >&2
|
||||
|
||||
exit 0
|
||||
|
@ -78,8 +78,8 @@ if [[ ! -z ${E2E_SET_CLUSTER_API_VERSION:-} ]]; then
|
||||
fi
|
||||
|
||||
export KUBE_CONFIG_FILE="config-test.sh"
|
||||
cluster/kube-down.sh
|
||||
cluster/kube-up.sh
|
||||
cluster/kubectl.sh version
|
||||
hack/ginkgo-e2e.sh --report_dir=${WORKSPACE}
|
||||
cluster/kube-down.sh
|
||||
cluster/kube-down.sh || true
|
||||
cluster/kube-up.sh || { echo "-- kube-up failed --"; exit 1; }
|
||||
cluster/kubectl.sh version || { echo "-- kubectl failed --"; exit 1; }
|
||||
hack/ginkgo-e2e.sh --report_dir=${WORKSPACE} || { echo "-- tests failed --"; exit 1; }
|
||||
cluster/kube-down.sh || { echo "-- kube-down failed --"; exit 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user