copy_logs: save gem list output

It would be helpful when debugging beaker or p-o-i jobs to have the list
of gems so we can easily compare with previous CI runs and make a diff
very quickly.

Change-Id: I6801c18fe345378b15b5f5be9ff0c5e9124bfa1a
(cherry picked from commit f0b44a2815)
This commit is contained in:
Emilien Macchi 2017-03-24 08:25:43 -04:00
parent 48b123c55b
commit 50fc359779
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ if [ `command -v rpm` ]; then
rpm -qa > $LOG_DIR/rpm-qa.txt
fi
if [ `command -v gem` ]; then
gem list |sort > $LOG_DIR/gem-list.txt
fi
# system status & informations
df -h > $LOG_DIR/df.txt
free -m > $LOG_DIR/free.txt