It sounds obvious from reading the docs <https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Trigger-runs>, but...
In a multi-branch pipeline there is no UI in Jenkins for defining a schedule to decide when should the job run automatically. It seems that the following should do so, I don't understand how, given the file has to be read first after a checkout... but anyway... I added the following triggers directive: stages triggers { cron('H 4/* 0 0 1-5') } stage ("...") { ... } } But once running the job with this directive, it fails with the following: java.lang.IllegalArgumentException: Could not instantiate > {properties=[org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty@1523de8c, > > @pipelineTriggers(<anonymous>=[@cron(<anonymous>=0 12,16,20 0 0 0)])]} for > JobPropertyStep > ... > ... -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/12df9e26-665b-4039-ae36-d68bc99cdc9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.