Fix for generate statistic functionality
in case if test run was used repo snapshots. Change-Id: I164ac8191f4bd902ad80e90f33e0ab3f3cafd322 Closes-Bug: #1603985
This commit is contained in:
parent
cca0271060
commit
b35ed149f1
@ -54,8 +54,13 @@ def generate_test_plan_name(job_name, build_number):
|
||||
# taken from Jenkins job build parameters
|
||||
runner_build = Build(job_name, build_number)
|
||||
milestone, iso_number, prefix = get_version(runner_build.build_data)
|
||||
return ' '.join(filter(lambda x: bool(x),
|
||||
(milestone, prefix, 'iso', '#' + str(iso_number))))
|
||||
if 'snapshot' not in prefix:
|
||||
return ' '.join(filter(lambda x: bool(x), (milestone,
|
||||
prefix, 'iso',
|
||||
'#' + str(iso_number))))
|
||||
else:
|
||||
return ' '.join(filter(lambda x: bool(x), (milestone,
|
||||
prefix)))
|
||||
|
||||
|
||||
def get_testrail():
|
||||
|
Loading…
Reference in New Issue
Block a user