Skip to content

Commit

Permalink
ci: Exclude pull requests from con job (#3894)
Browse files Browse the repository at this point in the history
* ci: Exclude pull requests from con job

Signed-off-by: andresmr <[email protected]>

* ci: fix typo

Signed-off-by: andresmr <[email protected]>

---------

Signed-off-by: andresmr <[email protected]>
  • Loading branch information
andresmr authored Nov 22, 2024
1 parent 222e3d3 commit d7b6042
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 cron_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 d7b6042

Please sign in to comment.