From 1a8a7c22c6b0dfc7c10b9b9a7de475fe3c1d8715 Mon Sep 17 00:00:00 2001 From: Gabriel Yu Date: Tue, 10 Oct 2017 16:50:55 +0800 Subject: Remove 'stable' from version for results pushed to DB JIRA: BOTTLENECK-210 RT. Change-Id: I5861f971e8afd69430bf5e322a566b27ce1eb2b7 Signed-off-by: Gabriel Yu (cherry picked from commit ba35a9ec913aaba9594cc402632d6fb1bbbbf548) --- testsuites/run_testsuite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites') diff --git a/testsuites/run_testsuite.py b/testsuites/run_testsuite.py index 8c8f6996..14148ee5 100644 --- a/testsuites/run_testsuite.py +++ b/testsuites/run_testsuite.py @@ -52,7 +52,7 @@ def report(testcase, start_date, stop_date, criteria, details_doc): "description": ("test results for " + testcase), "pod_name": os.environ.get('NODE_NAME', 'unknown'), "installer": os.environ.get('INSTALLER_TYPE', 'unknown'), - "version": os.environ.get('BRANCH', 'unknown'), + "version": os.path.basename(os.environ.get('BRANCH', 'unknown')), "build_tag": os.environ.get('BUILD_TAG', 'unknown'), "stop_date": str(stop_date), "start_date": str(start_date), -- cgit 1.2.3-korg