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

Setup wizard not properly offering the restart button

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The setup wizard is not offering the restart button properly, nor was it checking `Lifecycle.canRestart()`, and it puts up the restart button even when the system doesn't support it.

      The message should be modified to request manual restart in the latter case.

        Attachments

          Issue Links

            Activity

            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            I'm not entirely clear how to file a ticket to be on the radar for 2.0, so I hope I marked this right.

            Show
            kohsuke Kohsuke Kawaguchi added a comment - I'm not entirely clear how to file a ticket to be on the radar for 2.0, so I hope I marked this right.
            Hide
            rtyler R. Tyler Croy added a comment -

            Kohsuke Kawaguchi I usually assign stuff to Daniel Beck and hope for the best :-P

            Show
            rtyler R. Tyler Croy added a comment - Kohsuke Kawaguchi I usually assign stuff to Daniel Beck and hope for the best :-P
            Hide
            danielbeck Daniel Beck added a comment -

            Not a major issue as all qualifying plugins won't require a restart after JENKINS-33106 has been implemented.

            Show
            danielbeck Daniel Beck added a comment - Not a major issue as all qualifying plugins won't require a restart after JENKINS-33106 has been implemented.
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Not targeted to 2.0 given that JENKINS-33106 is fixed and no recommended plugins require a restart

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Not targeted to 2.0 given that JENKINS-33106 is fixed and no recommended plugins require a restart
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Keith Zantow
            Path:
            core/src/main/java/jenkins/install/SetupWizard.java
            core/src/main/resources/jenkins/install/pluginSetupWizard.properties
            war/src/main/js/api/pluginManager.js
            war/src/main/js/pluginSetupWizardGui.js
            war/src/main/js/templates/setupCompletePanel.hbs
            war/src/test/js/pluginSetupWizard-spec.js
            http://jenkins-ci.org/commit/jenkins/58ba65cacf743ed070ef0b63ea06521bef5e22d4
            Log:
            [FIX JENKINS-33374] - Correct Lifecycle-based restart behavior during setup wizard (#2515)

            • Add tests
            • One more test
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Zantow Path: core/src/main/java/jenkins/install/SetupWizard.java core/src/main/resources/jenkins/install/pluginSetupWizard.properties war/src/main/js/api/pluginManager.js war/src/main/js/pluginSetupWizardGui.js war/src/main/js/templates/setupCompletePanel.hbs war/src/test/js/pluginSetupWizard-spec.js http://jenkins-ci.org/commit/jenkins/58ba65cacf743ed070ef0b63ea06521bef5e22d4 Log: [FIX JENKINS-33374] - Correct Lifecycle-based restart behavior during setup wizard (#2515) JENKINS-33374 - correct restart behavior during setup wizard Add tests One more test
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been merged towards jenkins-2.20

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fix has been merged towards jenkins-2.20

              People

              • Assignee:
                kzantow Keith Zantow
                Reporter:
                kohsuke Kohsuke Kawaguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: