call the correct job for updating nightlies page
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c3ad0a7b21
commit
972cb3350e
|
@ -104,22 +104,16 @@ pipeline {
|
||||||
steps { script {
|
steps { script {
|
||||||
switch (btype) {
|
switch (btype) {
|
||||||
case 'nightly':
|
case 'nightly':
|
||||||
build(
|
build('misc/status.im')
|
||||||
job: 'misc/status-im.github.io-update_env',
|
break
|
||||||
parameters: [
|
|
||||||
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
|
|
||||||
[name: 'IOS_URL', value: ipaUrl, $class: 'StringParameterValue'],
|
|
||||||
[name: 'DMG_URL', value: dmgUrl, $class: 'StringParameterValue'],
|
|
||||||
[name: 'NIX_URL', value: appUrl, $class: 'StringParameterValue'],
|
|
||||||
]
|
|
||||||
); break
|
|
||||||
case 'release':
|
case 'release':
|
||||||
build(
|
build(
|
||||||
job: 'misc/cn.status.im',
|
job: 'misc/cn.status.im',
|
||||||
parameters: [
|
parameters: [
|
||||||
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
|
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
|
||||||
]
|
]
|
||||||
); break
|
)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue