Skip to content

Commit

Permalink
Fix condition for Jenkinsfile cron job (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz authored Nov 28, 2024
1 parent 5c87b66 commit 6af97ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 6af97ea

Please sign in to comment.