Run both PollSCM and Cron

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Run both PollSCM and Cron

satheesh prabhakaran
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAktezF2xTsgv8gYknHUNhgk37cn%3DPMeAAFwxKe6guEtLDsaUQ%40mail.gmail.com.