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
This commit is contained in:
Markos Chandras 2017-12-05 15:22:57 +00:00
parent e66433cadc
commit db570376ec

View File

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