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

Exceptions during Jenkins#cleanup() should not block the restart logic

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      It is a follow-up to https://github.com/jenkinsci/jenkins/pull/2746

      In Jenkins we call cleanup() handlers after destroying the WebAppMain context. At this point Jenkins is already semi-dead, hence we should proceed with the restart in any case even if the cleanup fails. Otherwise we may get a dead instance.

      I am still not sure about LifeCycles, but Jenkins code reviewers approved it. Will monitor the related issues

          [JENKINS-42164] Exceptions during Jenkins#cleanup() should not block the restart logic

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 2.46.1-fixed

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: