fix success value of build objects sent to ghcmgr

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Jakub Sokołowski 2018-12-20 23:12:37 +01:00 committed by Igor Mandrigin
parent 8ba1b43349
commit c3bddde7dd
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ def ghcmgrBuildObj(success) {
return [
id: env.BUILD_DISPLAY_NAME,
commit: GIT_COMMIT.take(8),
success: success ? success : true,
success: success != null ? success : true,
platform: env.BUILD_PLATFORM + (getBuildType() == 'e2e' ? '-e2e' : ''),
duration: buildDuration(),
url: currentBuild.absoluteUrl,