ci: use current branch as git ref for E2E tests

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.
This commit is contained in:
Siddarth Kumar 2024-08-09 17:38:41 +05:30 committed by Anastasiya
parent 86e054a328
commit 5eda526379
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,
]),
)
} }