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

Hooks for boot failures and recovery

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core

      To help unattended reocvery from startup failure, introduce the following functionalities:

      • If Jenkins fails to complete the bootup sequence, produce a marker file that captures the failure. If the boot sequence succeeds, remove this file.
      • If Jenkins fails to complete the bootup sequence, evaluate $JENKINS_HOME/boot-failure.groovy.d/* in the lexicological order

      These user-supplied script can capture additional details, raise alerts, restart Jenkins (possibly after doing any other corrective actions.)

      We should also count the repeated failures to boot, so that these scripts can try progressively aggressive measures.

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: