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,8 +109,9 @@ pipeline {
|
|||
} }
|
||||
}
|
||||
stage('Publish') {
|
||||
when { expression { cmn.getBuildType() == 'nightly' } }
|
||||
steps {
|
||||
steps { script {
|
||||
switch (cmn.getBuildType()) {
|
||||
case 'nightly':
|
||||
build(
|
||||
job: 'misc/status-im.github.io-update_env',
|
||||
parameters: [
|
||||
|
@ -119,8 +120,16 @@ pipeline {
|
|||
[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') {
|
||||
when { expression { cmn.getBuildType() == 'nightly' } }
|
||||
|
|
Loading…
Reference in New Issue