update cn.status.im APK link on release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4ab5e43616
commit
f061025b67
|
@ -109,18 +109,27 @@ pipeline {
|
||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
when { expression { cmn.getBuildType() == 'nightly' } }
|
steps { script {
|
||||||
steps {
|
switch (cmn.getBuildType()) {
|
||||||
build(
|
case 'nightly':
|
||||||
job: 'misc/status-im.github.io-update_env',
|
build(
|
||||||
parameters: [
|
job: 'misc/status-im.github.io-update_env',
|
||||||
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
|
parameters: [
|
||||||
[name: 'IOS_URL', value: ipaUrl, $class: 'StringParameterValue'],
|
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
|
||||||
[name: 'DMG_URL', value: dmgUrl, $class: 'StringParameterValue'],
|
[name: 'IOS_URL', value: ipaUrl, $class: 'StringParameterValue'],
|
||||||
[name: 'NIX_URL', value: appUrl, $class: 'StringParameterValue']
|
[name: 'DMG_URL', value: dmgUrl, $class: 'StringParameterValue'],
|
||||||
]
|
[name: 'NIX_URL', value: appUrl, $class: 'StringParameterValue']
|
||||||
)
|
]
|
||||||
}
|
); break
|
||||||
|
case 'release':
|
||||||
|
build(
|
||||||
|
job: 'misc/cn.status.im',
|
||||||
|
parameters: [
|
||||||
|
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
|
||||||
|
]
|
||||||
|
); break
|
||||||
|
}
|
||||||
|
} }
|
||||||
}
|
}
|
||||||
stage('Run e2e') {
|
stage('Run e2e') {
|
||||||
when { expression { cmn.getBuildType() == 'nightly' } }
|
when { expression { cmn.getBuildType() == 'nightly' } }
|
||||||
|
|
Loading…
Reference in New Issue