Merge "Fix dstat log file path for stackviz"

This commit is contained in:
Jenkins 2017-02-24 06:37:44 +00:00 committed by Gerrit Code Review
commit 0cf5c616f9
1 changed files with 3 additions and 3 deletions

View File

@ -608,10 +608,10 @@ function process_stackviz {
cp -r $stackviz_path/build $log_path/stackviz
pushd $project_path
if [ -f $BASE/new/dstat-csv.txt ]; then
if [ -f $log_path/dstat-csv_log.txt ]; then
sudo testr last --subunit | stackviz-export \
--dstat $BASE/new/dstat-csv.txt \
--end --stdin \
--dstat $log_path/dstat-csv_log.txt \
--env --stdin \
$log_path/stackviz/data
else
sudo testr last --subunit | stackviz-export \