Merge "collect grenade pluginrc if it exists"

This commit is contained in:
Jenkins
2015-06-12 18:00:32 +00:00
committed by Gerrit Code Review

View File

@@ -665,6 +665,13 @@ function cleanup_host {
# grenade logs
sudo cp $BASE/new/grenade/localrc $BASE/logs/grenade_localrc.txt
# grenade pluginrc - external grenade plugins use this file to
# communicate with grenade, capture for posterity
if -f [ $BASE/new/grenade/pluginrc ]; then
sudo cp $BASE/new/grenade/pluginrc $BASE/logs/grenade_pluginrc.txt
fi
# grenade logs directly and uses similar timestampped files to
# devstack. So temporarily copy out & rename the latest log
# files from the short-symlinks into grenade/, clean-up left