Run both PollSCM and Cron

7 views
Skip to first unread message

satheesh prabhakaran

unread,
Nov 27, 2019, 12:18:18 AM11/27/19
to jenkins...@googlegroups.com
Hi All,

I need a help in writing my Jenkinsile. I have include both PollSCM and Cron in Triggers section. Cron is working but PollSCM is not working. Please find the section and let me know if that works or need to change anything. Intention is to run build for all checkin and as well daily.

  triggers {
      pollSCM 'H/59 * * * *'
      cron 'H */24 * * *'
  }

Thanks,
Satheesh V
Reply all
Reply to author
Forward
0 new messages