fix passing parameters

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-08-22 10:03:52 -04:00
parent e89adfee55
commit 9ceb02e123
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ pipeline {
print "Running ${params.BUILD_TYPE} build!" print "Running ${params.BUILD_TYPE} build!"
/* Necessary to load methods */ /* Necessary to load methods */
mobile = load 'ci/mobile.groovy' mobile = load 'ci/mobile.groovy'
mobile.prep(type: params.BUILD_TYPE) mobile.prep(params.BUILD_TYPE)
} }
} }
} }
@ -44,7 +44,7 @@ pipeline {
} }
stage('Compile') { stage('Compile') {
steps { steps {
script { apk = mobile.android.compile(type: params.BUILD_TYPE) } script { apk = mobile.android.compile(params.BUILD_TYPE) }
} }
} }
stage('Archive') { stage('Archive') {

View File

@ -32,7 +32,7 @@ pipeline {
print "Running ${params.BUILD_TYPE} build!" print "Running ${params.BUILD_TYPE} build!"
/* Necessary to load methods */ /* Necessary to load methods */
mobile = load 'ci/mobile.groovy' mobile = load 'ci/mobile.groovy'
mobile.prep(type: params.BUILD_TYPE) mobile.prep(params.BUILD_TYPE)
} }
} }
} }
@ -48,7 +48,7 @@ pipeline {
} }
stage('Compile') { stage('Compile') {
steps { steps {
script { api = mobile.ios.compile(type: params.BUILD_TYPE) } script { api = mobile.ios.compile(params.BUILD_TYPE) }
} }
} }
stage('Archive') { stage('Archive') {