Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45174

Time-out strategy Deadline for specific days

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 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.

            kohsuke Kohsuke Kawaguchi
            nify Nico Falk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: