mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
ci: don't call startsWith on a null
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4d6c90acb3
commit
3587f94106
2
test/e2e/ci/Jenkinsfile
vendored
2
test/e2e/ci/Jenkinsfile
vendored
@ -182,7 +182,7 @@ def setBuildDescFromFile(fileNameOrPath) {
|
||||
currentBuild.description = utils.baseName(fileNameOrPath)
|
||||
return
|
||||
}
|
||||
if (tokens.build.startsWith('pr')) {
|
||||
if (tokens.build && tokens.build.startsWith('pr')) {
|
||||
currentBuild.displayName = tokens.build.replace(/^pr/, 'PR-')
|
||||
}
|
||||
currentBuild.description = formatMap([
|
||||
|
Loading…
x
Reference in New Issue
Block a user