ci: use current branch as git ref for E2E tests (#16057)

In this PR we get rid of `E2E_GIT_REF` parameter which would default to master or whatever value is set in CI.
We instead just rely on `env.BRANCH_NAME` to run E2E tests on the same branch the build on CI is generated from.

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
This commit is contained in:
Anastasiya 2024-08-09 17:51:38 +03:00 committed by GitHub
parent d8ec7af414
commit 2f346549a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -28,11 +28,6 @@ pipeline {
description: 'Trigger publishing of build results to GitHub.',
defaultValue: getPublishDefault(params.PUBLISH),
)
string(
name: 'E2E_GIT_REF',
description: 'GIT_REF for E2E repo.',
defaultValue: params.E2E_GIT_REF ?: 'master',
)
}
stages {
@ -73,7 +68,7 @@ pipeline {
BUILD_SOURCE: linux_x86_64.fullProjectName,
TESTRAIL_RUN_NAME: utils.pkgFilename(),
TEST_SCOPE_FLAG: utils.isReleaseBuild() ? '-m=critical' : '',
GIT_REF: params.E2E_GIT_REF,
GIT_REF: env.BRANCH_NAME,
]),
)
} }