fix passing parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e89adfee55
commit
9ceb02e123
|
@ -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') {
|
||||||
|
|
|
@ -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') {
|
||||||
|
|
Loading…
Reference in New Issue