summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliang gao <jean.gaoliang@huawei.com>2016-09-13 03:49:02 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-13 03:49:02 +0000
commit5472aa7ab03601b87cc45fdb068040f65d77bba3 (patch)
tree694992a1f0e08e29798efecd93ef95479b9f5bf3
parent5afea225d80edd9ed101eccee4e38bbac2f11bda (diff)
parentd8c6c0415422a82c47a4755646896381d20fb16d (diff)
Merge "bugfix: yardstick reporing in stable branch omit stable/" into stable/colorado
-rwxr-xr-xtests/ci/yardstick-verify5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ci/yardstick-verify b/tests/ci/yardstick-verify
index 4b5add71a..7484755ef 100755
--- a/tests/ci/yardstick-verify
+++ b/tests/ci/yardstick-verify
@@ -256,17 +256,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}