-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: build-timeout-plugin
-
None
We start our nightly builds every working day at 20 o'clock.
If a job is still running at this time, it could cause problems.
Using the deadline strategy could solve my problems, with one exception.
Every Friday at 20 o'clock we start a lot of jobs and they will not be finished within the next 24h.
Â
Thus, setting the deadline e.g. to 19:50 o'clock would work for me from Monday to Friday.
But all the jobs started on Friday generate a huge build queue. Some of these jobs are in the queue for e.g. 24 hours.Thus, the deadline at 19:50 would abort my jobs on Saturday which are put in the queue on Friday and are still running.
Â
If there is another parameter to configure the deadline time to be used on specific week-days only could solve this.
My configuration could the look like:
Deadline time: 19:50:00
Use Deadline time at : Mo-Fr
If jobs are running at 19:50:00 on Mo, Tu, We, Th or Fr, the will be aborted
If jobs are running at 19:50:00 on Sa or Su, the Deadline is ignored.