From 750cc93fe9bfa874205c24605d585575b58b31bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 21 Mar 2019 17:48:19 +0100 Subject: [PATCH] fix for e2e builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/utils.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/utils.groovy b/ci/utils.groovy index f6f025e89b..fbe5dcb2c0 100644 --- a/ci/utils.groovy +++ b/ci/utils.groovy @@ -49,7 +49,7 @@ def pkgFilename(type, ext) { def doGitRebase() { /* rebasing on relases defeats the point of having a release branch */ - if (getBuildType() == 'release') { + if (params.BUILD_TYPE == 'release') { println 'Skipping rebase due to release build...' return } @@ -118,7 +118,7 @@ def uploadArtifact(path) { def domain = 'ams3.digitaloceanspaces.com' def bucket = 'status-im' /* There's so many PR builds we need a separate bucket */ - if (params.BUILD_TYPE == 'pr') { + if (getBuildType() == 'pr') { bucket = 'status-im-prs' } /* WARNING: s3cmd can't guess APK MIME content-type */