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

Hooks for boot failures and recovery

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core

    Description

      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.

      Attachments

        Activity

          kohsuke Kohsuke Kawaguchi created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Labels startup
          kohsuke Kohsuke Kawaguchi made changes -
          Description 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-failures.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.
          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.
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 152134 ] JNJira + In-Review [ 194218 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: