don't update cn.status.im on every release build

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-01-15 15:13:40 +01:00
parent ffaf8038b3
commit 420a64e72d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 13 deletions

View File

@ -95,20 +95,9 @@ pipeline {
} } } }
} }
stage('Publish') { stage('Publish') {
when { expression { btype == 'nightly' } }
steps { script { steps { script {
switch (btype) { build('misc/status.im')
case 'nightly':
build('misc/status.im')
break
case 'release':
build(
job: 'misc/cn.status.im',
parameters: [
[name: 'APK_URL', value: urls.Apk, $class: 'StringParameterValue'],
]
)
break
}
} } } }
} }
stage('Run e2e') { stage('Run e2e') {