-
Improvement
-
Resolution: Unresolved
-
Major
-
None
Build Periodically is currently pure cron, (e.g. build every 3 days at 1 am).
Is also a need to check that environment, etc has not rotted on infrequent jobs. But don't want to bottle up all the executors every n time quanta hitting every job to make sure its still viable.
An alternate might be to build jobs that haven't been build (possibly still in a cronish interval, older than so many weeks/days/etc).
E.g. currently:
SCM Trigger [ check every 10 min ]
(*/10 * * * *)
Time Trigger [ check every 5 days ]
(1 1 */5 * *)
If job built on 4th day at 23:00 hours, then Time Trigger will effectively schedule another job, which has little value
Suggested
SCM Trigger [ check every 10 min ]
(*/10 * * * *)
Time Trigger [ check every 5 days ]
(1 1 */5 * *) x
If job is built on day 7 at 2:30 , then the time trigger won't fire until day 12 at 3:31 (+5 days, + 1 hour + 1 min) since last job execution