diff options
author | 2017-10-10 16:50:55 +0800 | |
---|---|---|
committer | 2017-12-21 22:45:21 +0000 | |
commit | 1a8a7c22c6b0dfc7c10b9b9a7de475fe3c1d8715 (patch) | |
tree | 64833afc9021b24605292ad870ae3a9723a8be05 | |
parent | 2c39839986088cdbf7230bb2df26171d70a9979b (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>
(cherry picked from commit ba35a9ec913aaba9594cc402632d6fb1bbbbf548)
-rw-r--r-- | testsuites/run_testsuite.py | 2 |
1 files changed, 1 insertions, 1 deletions
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), |