call the correct job for updating nightlies page

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-11-13 19:15:52 +01:00 committed by Jakub
parent c3ad0a7b21
commit 972cb3350e
1 changed files with 4 additions and 10 deletions

View File

@ -104,22 +104,16 @@ pipeline {
steps { script {
switch (btype) {
case 'nightly':
build(
job: 'misc/status-im.github.io-update_env',
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
build('misc/status.im')
break
case 'release':
build(
job: 'misc/cn.status.im',
parameters: [
[name: 'APK_URL', value: apkUrl, $class: 'StringParameterValue'],
]
); break
)
break
}
} }
}