Dump logs at the end of e2e runs.

This commit is contained in:
Joe Finney 2016-03-02 15:49:08 -08:00
parent 5315921d68
commit 56b7c9ba20

View File

@ -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: