jenkins/scripts/copy_puppet_logs: tempest.log support

If tempest.log file is here (generated by puppet-openstack-integration),
we will archive it in logdir beside other logs.

Change-Id: Id1813c83e5c8d6d2ab8d562082d038825788e95b
This commit is contained in:
Emilien Macchi 2015-09-04 14:23:16 -04:00
parent fee8a007c5
commit fb4fabb334

View File

@ -91,6 +91,11 @@ if [ -f /var/log/mysql.log ] ; then
sudo cp /var/log/mysql.log $LOG_DIR/
fi
# tempest logs
if [ -f /tmp/openstack/tempest/tempest.log ] ; then
sudo cp /tmp/openstack/tempest/tempest.log $LOG_DIR/
fi
# dstat logs
if [ -f /var/log/dstat.log ] ; then
sudo cp /var/log/dstat.log $LOG_DIR/