diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-02-26 16:00:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-26 16:00:11 +0000 |
commit | 3f23d0c783fa0016f9aed8cd610261fdf929eba5 (patch) | |
tree | 5c147d6090591e2d7f34686cf180ca5fe271eeed /testcases/vPing | |
parent | c5e191cabe0a8215ed3975fb5c06c1cb15fdb158 (diff) | |
parent | 831ec1cf15cc6b945a86c4885331d51a295004c9 (diff) |
Merge "Add jenkins build tag for result api"
Diffstat (limited to 'testcases/vPing')
-rw-r--r-- | testcases/vPing/CI/libraries/vPing_ssh.py | 3 | ||||
-rw-r--r-- | testcases/vPing/CI/libraries/vPing_userdata.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testcases/vPing/CI/libraries/vPing_ssh.py b/testcases/vPing/CI/libraries/vPing_ssh.py index e3b2ec5e5..508ac0ff5 100644 --- a/testcases/vPing/CI/libraries/vPing_ssh.py +++ b/testcases/vPing/CI/libraries/vPing_ssh.py @@ -334,10 +334,11 @@ def push_results(start_time_ts, duration, test_status): logger.debug("Pushing result into DB...") scenario = functest_utils.get_scenario(logger) pod_name = functest_utils.get_pod_name(logger) + build_tag = functest_utils.get_build_tag(logger) functest_utils.push_results_to_db(TEST_DB, "functest", "vPing", - logger, pod_name, scenario, + logger, pod_name, scenario, build_tag, payload={'timestart': start_time_ts, 'duration': duration, 'status': test_status}) diff --git a/testcases/vPing/CI/libraries/vPing_userdata.py b/testcases/vPing/CI/libraries/vPing_userdata.py index eac2df5c1..8f214205b 100644 --- a/testcases/vPing/CI/libraries/vPing_userdata.py +++ b/testcases/vPing/CI/libraries/vPing_userdata.py @@ -316,10 +316,11 @@ def push_results(start_time_ts, duration, test_status): logger.debug("Pushing result into DB...") scenario = functest_utils.get_scenario(logger) pod_name = functest_utils.get_pod_name(logger) + build_tag = functest_utils.get_build_tag(logger) functest_utils.push_results_to_db(TEST_DB, "functest", "vPing_userdata", - logger, pod_name, scenario, + logger, pod_name, scenario, build_tag, payload={'timestart': start_time_ts, 'duration': duration, 'status': test_status}) |