summaryrefslogtreecommitdiffstats
path: root/testsuites/run_testsuite.py
diff options
context:
space:
mode:
authorGabriel Yu <Gabriel.yuyang@huawei.com>2017-10-10 16:50:55 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2017-10-10 08:53:08 +0000
commitba35a9ec913aaba9594cc402632d6fb1bbbbf548 (patch)
treef088c2ba15982ca4e2e324e981ecf210f38ddb82 /testsuites/run_testsuite.py
parent011a217f71c27f9b908b20f9145f461ddc12084a (diff)
Remove 'stable' from version for results pushed to DB
JIRA: BOTTLENECK-210 RT. Change-Id: I5861f971e8afd69430bf5e322a566b27ce1eb2b7 Signed-off-by: Gabriel Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'testsuites/run_testsuite.py')
-rw-r--r--testsuites/run_testsuite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/run_testsuite.py b/testsuites/run_testsuite.py
index 74ae4e1c..e7276689 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),