chore: Dependence on Jenkins Job name removed in TestRail configs (#287)

#276

Co-authored-by: vlado@status.im <Vladimir Druzhinin>
This commit is contained in:
Vladimir Druzhinin 2023-11-15 09:42:02 +01:00 committed by GitHub
parent 34add5b08e
commit ecd9067551
2 changed files with 2 additions and 4 deletions

View File

@ -37,7 +37,7 @@ pipeline {
)
string(
name: 'TESTRAIL_RUN_NAME',
description: 'Test run ID in Test Rail.',
description: 'Test run name in Test Rail.',
defaultValue: ''
)
/* FIXME: This is temporary and should be removed. */

View File

@ -1,10 +1,8 @@
import os
from datetime import datetime
CI_BUILD_URL = os.getenv('BUILD_URL', '')
CI_NIGHTLY = True if 'nightly' in CI_BUILD_URL else False
RUN_NAME = os.getenv('TESTRAIL_RUN_NAME', f'Nightly regression {datetime.now():%d.%m.%Y}' if CI_NIGHTLY else '')
RUN_NAME = os.getenv('TESTRAIL_RUN_NAME', '')
PROJECT_ID = os.getenv('TESTRAIL_PROJECT_ID', '')
URL = os.getenv('TESTRAIL_URL', '')
USR = os.getenv('TESTRAIL_USR', '')