From 76fa39001dd27b4bec7c42b6e9ed545cee2737d0 Mon Sep 17 00:00:00 2001 From: andresmr Date: Wed, 20 Nov 2024 11:20:32 +0100 Subject: [PATCH] ci: Exclude pull requests from con job Signed-off-by: andresmr --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 60ad35fff2..9bd2a0fbb4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,13 @@ +//Sets cron schedule just for PUSH job +String con_string = JOB_NAME == 'android-multibranch-PUSH' ? '0 0 * * *' : '' + pipeline { agent { label "ec2-android" } triggers { - cron('0 0 * * *') + cron(cron_string) } options {