diff --git a/Jenkinsfile b/Jenkinsfile index aea4792f82..6eb3ac12de 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,5 @@ //Sets cron schedule just for PUSH job -String cron_string = JOB_NAME == 'android-multibranch-PUSH' ? '0 0 * * *' : '' +String cron_string = JOB_NAME.startsWith('android-multibranch-PUSH') ? '0 0 * * *' : '' pipeline { agent {