Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(e2e): Generate name of Nightly run for TesRail #12698

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

squ1sher
Copy link
Contributor

#276
Each night, we run e2e tests. To have a report in TestRail, we need to fill in the TESTRAIL_RUN_NAME field.
In PR, I added generating the name of test runs in TestRail.

Tested here:
https://ci.status.im/job/status-desktop/job/e2e/job/manual/856/console
In the console output, you can find that the name was generated in the format: Nightly regression 10.11.2023

@status-im-auto
Copy link
Member

status-im-auto commented Nov 10, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 443a65f #1 2023-11-10 17:33:37 ~6 min tests/nim 📄log
✔️ 443a65f #1 2023-11-10 17:35:31 ~7 min macos/aarch64 🍎dmg
✔️ 443a65f #1 2023-11-10 17:40:36 ~12 min macos/x86_64 🍎dmg
✔️ 443a65f #1 2023-11-10 17:43:23 ~15 min tests/ui 📄log
✔️ 443a65f #1 2023-11-10 17:43:29 ~15 min linux/x86_64 📦tgz
✖️ 443a65f #1 2023-11-10 17:56:16 ~28 min tests/e2e 📄log
✔️ 443a65f #1 2023-11-10 18:08:02 ~40 min windows/x86_64 💿exe
✔️ 443a65f #2 2023-11-13 10:05:51 ~30 min tests/e2e 📄log

@anastasiyaig
Copy link
Contributor

@StateOf-Vlado is that possible to pick up somewhere the commit hash and put it into the name too? Its okay if not just wondering if we can do slightly better

@anastasiyaig anastasiyaig merged commit 7936547 into master Nov 13, 2023
8 of 9 checks passed
@anastasiyaig anastasiyaig deleted the ci/276_genarate_nightly_name branch November 13, 2023 12:54
@@ -61,9 +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'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, this should probably be a helper function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Map nightly job results to TestRail
5 participants