fix(ci): use getProjectName() to get parent name

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-10-25 18:49:04 +02:00
parent 0592154a33
commit 1072033ef1
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def getArch() {
def getE2EBuildType() {
if (utils.isPRBuild()) { return 'prs' }
def parent = utils.parentOrCurrentBuild()
if (parent != null && parent.name == 'nightly') { return nightly }
if (parent != null && parent.getProjectName() == 'nightly') { return nightly }
return null
}