summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-09-12 07:27:01 +0000
committerliang gao <jean.gaoliang@huawei.com>2016-09-13 02:12:16 +0000
commitd8c6c0415422a82c47a4755646896381d20fb16d (patch)
tree195860119cd2d7602a9a931320103fe697dfdfa9 /tests
parent6692b87a82568814d1ab7638f641b4b1b0f2f6df (diff)
bugfix: yardstick reporing in stable branch omit stable/
JIRA: YARDSTICK-343 Change-Id: Id11b8a3aeac34686935b97bee9061415ebb62c21 Signed-off-by: rexlee8776 <limingjiang@huawei.com> (cherry picked from commit f12a0c1a56da2238d8fc4f4b840bf4f3a0b0f1d5)
Diffstat (limited to 'tests')
-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}