aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-08-08 01:33:49 +0000
committerrexlee8776 <limingjiang@huawei.com>2016-08-08 01:44:16 +0000
commitbe645733387100ac6a9e2b2b5aea388f4d175e41 (patch)
tree44210757852ee1e6110a27cde164a588fb09dc6d /tests
parent7d5d227ecb7163271cf1645d0affb0134f5ff039 (diff)
add reporting to mongodb in yardstick ci
also need to add report-show html in releng Change-Id: Ie176d94a2f389bf1017a1e0d9f98b3a851b77214 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ci/yardstick-verify9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify
index c83193574..31297f60f 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -255,13 +255,18 @@ EOF
done
- if [ $failed -gt 0 ]; then
+ local sceanrio_status="success"
+ if [ $failed -gt 0 ]; then
+ scenario_status="failed"
echo "---------------------------"
echo "$failed out of ${SUITE_FILES[*]} test suites FAILED"
echo "---------------------------"
exit 1
- fi
+ fi
+ curl -i -H 'content-type: application/json' -X POST -d \
+ '{\"details\":{\"${DEPLOY_SCENARIO}\":\"${sceanrio_status}\"}}' \
+ http://${DISPATCHER_HTTP_TARGET}:3570
else