From 77267a145fe0d120f890b9c73327a448dd97ef04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 21 Mar 2019 16:07:29 +0100 Subject: [PATCH] check parameter, e2e builds can be release builds too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/utils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/utils.groovy b/ci/utils.groovy index 6d6feba47c..f6f025e89b 100644 --- a/ci/utils.groovy +++ b/ci/utils.groovy @@ -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 (getBuildType() == 'pr') { + if (params.BUILD_TYPE == 'pr') { bucket = 'status-im-prs' } /* WARNING: s3cmd can't guess APK MIME content-type */