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 { 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
} }
} } } }
} }