aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/yardstick-verify
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ci/yardstick-verify')
-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 649eb31fd..0e234f54d 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -293,13 +293,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