From 50fc3597797416a261ddc04fb2ea0caa0d36e2a0 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 24 Mar 2017 08:25:43 -0400 Subject: [PATCH] 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 f0b44a2815b7609506579afdfaa58687b83f5c87) --- copy_logs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/copy_logs.sh b/copy_logs.sh index e19cac1ef..61033f804 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -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