aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/run_rally.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-02-26 16:00:11 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-26 16:00:11 +0000
commit3f23d0c783fa0016f9aed8cd610261fdf929eba5 (patch)
tree5c147d6090591e2d7f34686cf180ca5fe271eeed /testcases/VIM/OpenStack/CI/libraries/run_rally.py
parentc5e191cabe0a8215ed3975fb5c06c1cb15fdb158 (diff)
parent831ec1cf15cc6b945a86c4885331d51a295004c9 (diff)
Merge "Add jenkins build tag for result api"
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/run_rally.py')
-rwxr-xr-xtestcases/VIM/OpenStack/CI/libraries/run_rally.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally.py b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
index 6b1aae2eb..1ea6ca6db 100755
--- a/testcases/VIM/OpenStack/CI/libraries/run_rally.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
@@ -106,10 +106,12 @@ def push_results_to_db(case, payload):
installer = functest_utils.get_installer_type(logger)
scenario = functest_utils.get_scenario(logger)
pod_name = functest_utils.get_pod_name(logger)
+ build_tag = functest_utils.get_build_tag(logger)
# TODO pod_name hardcoded, info shall come from Jenkins
params = {"project_name": "functest", "case_name": case,
"pod_name": pod_name, "installer": installer,
- "version": scenario, "details": payload}
+ "version": scenario, "build_tag": build_tag,
+ "details": payload}
headers = {'Content-Type': 'application/json'}
r = requests.post(url, data=json.dumps(params), headers=headers)