chore: Generate test run name for Test Rail (#12757)

Co-authored-by: vlado@status.im <Vladimir Druzhinin>
This commit is contained in:
Vladimir Druzhinin 2023-11-16 10:23:45 +01:00 committed by GitHub
parent d73c4c5a3a
commit ee4077d673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -61,12 +61,13 @@ pipeline {
linux_e2e = jenkins.Build('status-desktop/systems/linux/x86_64/tests-e2e-old')
} } }
stage('Linux/E2E/new') { steps { script {
def timeStamp = Calendar.getInstance().getTime().format('dd.MM.YYY',TimeZone.getTimeZone('CST'))
def Date date = new Date()
def String datePart = date.format("dd.MM.yyyy")
linux_e2e = build(
job: 'status-desktop/systems/linux/x86_64/tests-e2e-new',
parameters: jenkins.mapToParams([
BUILD_SOURCE: linux_x86_64.fullProjectName,
TESTRAIL_RUN_NAME: "Nightly regression ${timeStamp}"
TESTRAIL_RUN_NAME: "Nightly regression ${datePart}"
]),
)
} } }