Give the right repo path for vIMS to send report
authorgrakiss <grakiss.wanglei@huawei.com>
Fri, 1 Jan 2016 02:12:02 +0000 (10:12 +0800)
committermei mei <meimei@huawei.com>
Mon, 4 Jan 2016 01:53:10 +0000 (01:53 +0000)
Change-Id: I03c0fe24fce661f29869b92652b8ffebd0258c7c
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
testcases/vIMS/CI/vIMS.py

index 5a3003f..9ff1762 100644 (file)
@@ -149,7 +149,7 @@ def test_clearwater():
             if args.report:
                 logger.debug("Push result into DB")
                 logger.debug("Pushing results to DB....")
-                git_version = functest_utils.get_git_branch(args.repo_path)
+                git_version = functest_utils.get_git_branch(REPO_PATH)
                 functest_utils.push_results_to_db(db_url=TEST_DB, case_name="vIMS",
                             logger=logger, pod_name="opnfv-jump-2", git_version=git_version,
                             payload={'orchestrator':{'duration': CFY_DEPLOYMENT_DURATION,