[ci]move unexpected resources table to console html

It is unexpected result on rally gates if unexpected resources were
found. Let us move unexpected resources table to console html, we
can be easy to find the error.

Change-Id: I52cf2e4fed7e18f7ed95be1943a39a21161e4333
This commit is contained in:
chenhb 2017-08-02 16:08:27 +08:00 committed by Boris Pavlovic
parent 018a014fe7
commit 5856f96594

View File

@ -148,9 +148,14 @@ function run () {
set -e
cp resources_at_start.txt rally-plot/
$PYTHON $RALLY_DIR/tests/ci/osresources.py\
--compare-with-list resources_at_start.txt\
| gzip > rally-plot/resources_diff.txt.gz
if [ "$ZUUL_PROJECT" == "openstack/rally" ];then
$PYTHON $RALLY_DIR/tests/ci/osresources.py\
--compare-with-list resources_at_start.txt
else
$PYTHON $RALLY_DIR/tests/ci/osresources.py\
--compare-with-list resources_at_start.txt\
| gzip > rally-plot/resources_diff.txt.gz
fi
exit $retval
}