ci: make e2e stage depends on publish param

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Churikova Tetiana 2021-05-12 16:49:49 +02:00 committed by Jakub Sokołowski
parent ba3e229d6f
commit 2618201bb3
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ pipeline {
} }
}
stage('Run e2e') {
when { expression { btype == 'nightly' } }
when { expression { btype == 'nightly' && params.PUBLISH } }
steps { script {
e2eApk = utils.getEnv(apke2e, 'SAUCE_URL')
build(