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

Functions.isExtensionsAvailable() should return false during termination

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After we have sufficiently completed termination it would not be safe to call any of the extension points for page rendering of the layout anyway, so better to let this helper function cut them out of the page rendering path on termination as for startup.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/java/hudson/Functions.java
          http://jenkins-ci.org/commit/jenkins/1ed395aa06b64eea29504a39556995491db3ce57
          Log:
          [FIXED JENKINS-33377] Add a check for termination to Functions.isExtensionsAvailable()

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/Functions.java http://jenkins-ci.org/commit/jenkins/1ed395aa06b64eea29504a39556995491db3ce57 Log: [FIXED JENKINS-33377] Add a check for termination to Functions.isExtensionsAvailable()
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/java/hudson/Functions.java
          http://jenkins-ci.org/commit/jenkins/2d9d7bbe214f9b3fc09dcaae4e14a285d1c2bff3
          Log:
          Merge pull request #2091 from stephenc/jenkins-33377

          [FIXED JENKINS-33377] Add a check for termination to Functions.isExtensionsAvailable()

          Compare: https://github.com/jenkinsci/jenkins/compare/bb7c8fcedbcc...2d9d7bbe214f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/Functions.java http://jenkins-ci.org/commit/jenkins/2d9d7bbe214f9b3fc09dcaae4e14a285d1c2bff3 Log: Merge pull request #2091 from stephenc/jenkins-33377 [FIXED JENKINS-33377] Add a check for termination to Functions.isExtensionsAvailable() Compare: https://github.com/jenkinsci/jenkins/compare/bb7c8fcedbcc...2d9d7bbe214f
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #4489
          [FIXED JENKINS-33377] Add a check for termination to (Revision 1ed395aa06b64eea29504a39556995491db3ce57)

          Result = SUCCESS
          stephen connolly : 1ed395aa06b64eea29504a39556995491db3ce57
          Files :

          • core/src/main/java/hudson/Functions.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4489 [FIXED JENKINS-33377] Add a check for termination to (Revision 1ed395aa06b64eea29504a39556995491db3ce57) Result = SUCCESS stephen connolly : 1ed395aa06b64eea29504a39556995491db3ce57 Files : core/src/main/java/hudson/Functions.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/java/hudson/model/UsageStatistics.java
          http://jenkins-ci.org/commit/jenkins/0ef1c6f56a61b8a62a115a3598af71479232052e
          Log:
          Noting that this usage required JENKINS-33377 before it can be fixed

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/model/UsageStatistics.java http://jenkins-ci.org/commit/jenkins/0ef1c6f56a61b8a62a115a3598af71479232052e Log: Noting that this usage required JENKINS-33377 before it can be fixed
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          core/src/main/java/hudson/Functions.java
          http://jenkins-ci.org/commit/jenkins/5ca718ac016b970e3588bd133bd048e8a224989b
          Log:
          [FIXED JENKINS-33377] Add a check for termination to Functions.isExtensionsAvailable()

          (cherry picked from commit 1ed395aa06b64eea29504a39556995491db3ce57)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/Functions.java http://jenkins-ci.org/commit/jenkins/5ca718ac016b970e3588bd133bd048e8a224989b Log: [FIXED JENKINS-33377] Add a check for termination to Functions.isExtensionsAvailable() (cherry picked from commit 1ed395aa06b64eea29504a39556995491db3ce57)

            People

            • Assignee:
              stephenconnolly Stephen Connolly
              Reporter:
              stephenconnolly Stephen Connolly
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: