fix for e2e builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-03-21 17:48:19 +01:00
parent 77267a145f
commit 750cc93fe9
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 2 deletions

View File

@ -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 */