From d7b60422d723ef1b6dbf7cf0850413701c93ab9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Miguel=20Rubio?= Date: Fri, 22 Nov 2024 13:12:43 +0100 Subject: [PATCH] ci: Exclude pull requests from con job (#3894) * ci: Exclude pull requests from con job Signed-off-by: andresmr * ci: fix typo Signed-off-by: andresmr --------- Signed-off-by: andresmr --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 60ad35fff2..aea4792f82 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,13 @@ +//Sets cron schedule just for PUSH job +String cron_string = JOB_NAME == 'android-multibranch-PUSH' ? '0 0 * * *' : '' + pipeline { agent { label "ec2-android" } triggers { - cron('0 0 * * *') + cron(cron_string) } options {