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:
parent
48b123c55b
commit
50fc359779
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue