mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +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}
|
{provider-env}
|
||||||
{job-env}
|
{job-env}
|
||||||
{post-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:
|
properties:
|
||||||
- mail-watcher
|
- mail-watcher
|
||||||
wrappers:
|
wrappers:
|
||||||
|
Loading…
Reference in New Issue
Block a user