diff --git a/ci/Jenkinsfile.combined b/ci/Jenkinsfile.combined index 7c0ebb2562..9264ed4392 100644 --- a/ci/Jenkinsfile.combined +++ b/ci/Jenkinsfile.combined @@ -95,20 +95,9 @@ pipeline { } } } stage('Publish') { + when { expression { btype == 'nightly' } } steps { script { - switch (btype) { - 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 - } + build('misc/status.im') } } } stage('Run e2e') {