stages
triggers {
cron('H 4/* 0 0 1-5')
}
stage ("...") {
...
}
}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
...
...
triggers {
cron '0 12,16,20 * * 1-4,7 *'
}Caused by: antlr.ANTLRException: Invalid input: "0 12,16,20 * * 1-4,7 *": line 1:21: expecting EOF, found ' '
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3b6ffda4-1804-420f-9b14-6191ff85c578%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/69b05c91-d523-4574-b37a-6fa4ae26c7ae%40googlegroups.com.
Okay, I guess that after the first time the Jenkinsfile is read Jenkins must have saved this info somewhere as when looking at the job in Jenkins there is a "View Configuration" button and there you can see the specified schedule. sigh. I wish that'd be documented...
--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9180e134-f2d4-4c80-936a-9853fd8d8720%40googlegroups.com.