From 6af97ead66a612031f5801f12fc2e46222143056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Garc=C3=ADa?= Date: Thu, 28 Nov 2024 13:48:54 +0100 Subject: [PATCH] Fix condition for Jenkinsfile cron job (#3909) --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {