diff options
author | liang gao <jean.gaoliang@huawei.com> | 2016-09-13 02:09:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-13 02:09:07 +0000 |
commit | d38d993ec1515cade15372592cd33becb810c67a (patch) | |
tree | 57a8004957d251c868ae3a08ab3d0144a9fd9f33 /tests | |
parent | cca0572b999a2d7bd1b280be7f0ea90ceccca113 (diff) | |
parent | f12a0c1a56da2238d8fc4f4b840bf4f3a0b0f1d5 (diff) |
Merge "bugfix: yardstick reporing in stable branch omit stable/"
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ci/yardstick-verify | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify index 37d0a9036..16df3bb59 100755 --- a/tests/ci/yardstick-verify +++ b/tests/ci/yardstick-verify @@ -295,17 +295,16 @@ report(){ echo echo "========== Reporting Status ==========" - curl -i -H 'content-type: application/json' -X POST -d \ "{\"project_name\": \"yardstick\", \"case_name\": \"scenario_status\", \"pod_name\":\"${NODE_NAME}\", \"installer\":\"${INSTALLER_TYPE}\", - \"version\":\"${YARDSTICK_BRANCH}\", + \"version\":\"$(basename ${YARDSTICK_BRANCH})\", \"scenario\":\"${DEPLOY_SCENARIO}\", \"description\": \"yardstick ci scenario status\", - \"start_date\":\"$2\", \"criteria\":\"$1\", + \"start_date\":\"$2\", \"stop_date\":\"$3\", \"details\":\"\"}" \ ${DISPATCHER_HTTP_TARGET} |