Skip to content

Commit

Permalink
ci: Exclude pull requests from con job
Browse files Browse the repository at this point in the history
Signed-off-by: andresmr <[email protected]>
  • Loading branch information
andresmr committed Nov 20, 2024
1 parent 4c48240 commit 76fa390
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 76fa390

Please sign in to comment.