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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Oleg Nenashev
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: