test-log-collect.sh: Collect all environment variables

We export many variables throughout the CI jobs so it's helpful to
collect them all as part of the job results.

Change-Id: Ic12bb7efa6e841108d56a9368917157c4e104c77
(cherry picked from commit db570376ec)
This commit is contained in:
Markos Chandras 2017-12-05 15:22:57 +00:00 committed by Markos Chandras (hwoarang)
parent b286dd7fbd
commit f7f1f69d17
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ fi
# Get a dmesg output so we can look for kernel failures
dmesg > "${WORKING_DIR}/logs/dmesg.log.txt" || true
# Collect job environment
env > "${WORKING_DIR}/logs/environment.txt" || true
# output ram usage
free -m > "${WORKING_DIR}/logs/memory-available.txt" || true