From 831ec1cf15cc6b945a86c4885331d51a295004c9 Mon Sep 17 00:00:00 2001 From: boucherv Date: Wed, 24 Feb 2016 14:33:51 +0100 Subject: Add jenkins build tag for result api Ex: jenkins-functest-compass-intel-pod8-daily-master-19 this will bring together all tests passed on the same functest run JIRA: FUNCTEST-140 Change-Id: I3c1cd8137184509ee5fdeeb2df5399d4c71e3f67 Signed-off-by: boucherv --- testcases/Controllers/ODL/CI/odlreport2db.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testcases/Controllers/ODL') diff --git a/testcases/Controllers/ODL/CI/odlreport2db.py b/testcases/Controllers/ODL/CI/odlreport2db.py index 47067963a..50731ffe1 100644 --- a/testcases/Controllers/ODL/CI/odlreport2db.py +++ b/testcases/Controllers/ODL/CI/odlreport2db.py @@ -122,6 +122,7 @@ def main(argv): f.close() database = functest_yaml.get("results").get("test_db_url") + build_tag = functest_utils.get_build_tag() try: # example: @@ -135,6 +136,7 @@ def main(argv): None, data['pod_name'], scenario, + build_tag, data) except: print("Error pushing results into Database '%s'" % sys.exc_info()[0]) -- cgit 1.2.3-korg