mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Dump logs at the end of e2e runs.
This commit is contained in:
parent
5315921d68
commit
56b7c9ba20
@ -21,7 +21,13 @@
|
||||
{provider-env}
|
||||
{job-env}
|
||||
{post-env}
|
||||
timeout -k {kill-timeout}m {timeout}m {runner}
|
||||
if ! timeout -k {kill-timeout}m {timeout}m {runner}; then
|
||||
if [[ -x kubernetes/cluster/log-dump.sh && -d _artifacts ]]; then
|
||||
echo "Dumping logs for any remaining nodes"
|
||||
./kubernetes/cluster/log-dump.sh _artifacts
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
properties:
|
||||
- mail-watcher
|
||||
wrappers:
|
||||
|
Loading…
Reference in New Issue
Block a user