• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Platform: All, OS: Windows XP
    • 2.267 and 2.277.1

      When preparing a heavily used hudson instance for shutdown, there are always
      questions about the "why, how long and what does it mean?". I could easily
      explain it upfront, if i could enter a message when starting the shutdown
      preparation that gets shown additional to the current text.

      Think of it like the "reason for shutdown" textfield on windows servers.

          [JENKINS-1877] Explanatory message at prepare for shutdown

          Daniel Beck added a comment -

          Is the problem the wording of the default message, or that there's no easy way to add an explanation next to it?

          I.e. would changing the message to "Jenkins is quieting down in preparation for maintenance" or something similar work?

          Daniel Beck added a comment - Is the problem the wording of the default message, or that there's no easy way to add an explanation next to it? I.e. would changing the message to "Jenkins is quieting down in preparation for maintenance" or something similar work?

          All of above. Wording, hardcoded somewhere. And also no distinction made between shutdown and restart. Only a shutdown message.
          My users got scared thinking I would end the service. When all I did was update plugins.

          Anders Hoglund added a comment - All of above. Wording, hardcoded somewhere. And also no distinction made between shutdown and restart. Only a shutdown message. My users got scared thinking I would end the service. When all I did was update plugins.

          Steffen Breitbach added a comment - - edited

          Seconded.

          The worst part of the message is the "shutdown" part. I also got calls from users "why the Jenkins is shutting down" when this absolutely wasn't true...

          To me the best solution would be a default message (maybe the shutdown one) being displayed as long as not specified otherwise and the ability to override this somehow.

          Maybe the menu item shouldn't even read "Prepare for shutdown" but "Cease all operation" instead?

          Steffen Breitbach added a comment - - edited Seconded. The worst part of the message is the "shutdown" part. I also got calls from users "why the Jenkins is shutting down" when this absolutely wasn't true... To me the best solution would be a default message (maybe the shutdown one) being displayed as long as not specified otherwise and the ability to override this somehow. Maybe the menu item shouldn't even read "Prepare for shutdown" but "Cease all operation" instead?

          I agree, it would be wonderful if instead of displaying the built-in shutdown message it were possible to display a custom, user defined message like:

          Out of service from Monday, June 1, 2017 5:00 PM to 7:00 PM while ...

          Steven Christenson added a comment - I agree, it would be wonderful if instead of displaying the built-in shutdown message it were possible to display a custom, user defined message like: Out of service from Monday, June 1, 2017 5:00 PM to 7:00 PM while ...

          Fabien Rica added a comment -

          Hello,

          I need to restart Jenkins in 4 use cases:

          1. Plugins update: Message would contain the reason (ex: "plugins update") and a date/time when it will occur. Users will understand better that it's a minor inconvenience.
          2. General restart of Jenkins: Message would contain the reason (ex: "Performance issues") and the date/time. Users will understand that we are taking care of the complaints regarding general slowness.
          3. Reboot of the server: Message would contain the reason (ex: "OS updates")  and the date/time. No one really then discusses why it's needed, the OS have to be up-to-date to be in line with company security policy.
          4. Version update: Message would contain the reason (ex: "Jenkins version update")  and the date/time, several days in advance.

          In comparison: this feature exists in our company JIRA server and is extremely handy and well-perceived by the users.

          I don't understand why I see features requests created in from 2008/2009 (see also https://issues.jenkins-ci.org/browse/JENKINS-4967) and this is still not at least agreed that it is useful.

          I think it would be a great usability addition to Jenkins.

           

          Fabien Rica added a comment - Hello, I need to restart Jenkins in 4 use cases: Plugins update: Message would contain the reason (ex: "plugins update") and a date/time when it will occur. Users will understand better that it's a minor inconvenience. General restart of Jenkins: Message would contain the reason (ex: "Performance issues") and the date/time. Users will understand that we are taking care of the complaints regarding general slowness. Reboot of the server: Message would contain the reason (ex: "OS updates")  and the date/time. No one really then discusses why it's needed, the OS have to be up-to-date to be in line with company security policy. Version update: Message would contain the reason (ex: "Jenkins version update")  and the date/time, several days in advance. In comparison: this feature exists in our company JIRA server and is extremely handy and well-perceived by the users. I don't understand why I see features requests created in from 2008/2009 (see also https://issues.jenkins-ci.org/browse/JENKINS-4967 ) and this is still not at least agreed that it is useful. I think it would be a great usability addition to Jenkins.  

          Oleg Nenashev added a comment -

          snorky I think everybody agrees it's useful. Even more, it's not a big deal to implement it. So it just needs a contributor who is ready to deliver it.

          In my previous company we were just using a custom CSS via Simple Theme Plugin to make Jenkins Web UI red and to customize the header in order to warn about maintenance timeframe and the reasons. Then we just used System Groovy scripts to publish the announcements. It was working pretty fine.

          Oleg Nenashev added a comment - snorky I think everybody agrees it's useful. Even more, it's not a big deal to implement it. So it just needs a contributor who is ready to deliver it. In my previous company we were just using a custom CSS via Simple Theme Plugin to make Jenkins Web UI red and to customize the header in order to warn about maintenance timeframe and the reasons. Then we just used System Groovy scripts to publish the announcements. It was working pretty fine.

          Fabien Rica added a comment -

          oleg_nenashev I understand perfectly your point. It's just that when reading the thread I had the feeling some people were trying to minimize the need for it.

          Thanks for the workaround also.

          Fabien Rica added a comment - oleg_nenashev I understand perfectly your point. It's just that when reading the thread I had the feeling some people were trying to minimize the need for it. Thanks for the workaround also.

          Yes, I would like this feature just to prevent builds from happening at certain  times, such as when the LAN is down, and builds would just fail anyway.  Or we wish to suspend builds for an hour while we change a build process or something.  We would like to say have suspended Jenkins (i.e. is out of service temporarily), and it is not actually really going to shut down.

          Rick Patterson added a comment - Yes, I would like this feature just to prevent builds from happening at certain  times, such as when the LAN is down, and builds would just fail anyway.  Or we wish to suspend builds for an hour while we change a build process or something.  We would like to say have suspended Jenkins (i.e. is out of service temporarily), and it is not actually really going to shut down.

          Martin Jost added a comment - - edited

          I would like to see this inone of the next LTS releases. Would be really nice, Is there an official way to suggest this ?

          Martin Jost added a comment - - edited I would like to see this inone of the next LTS releases. Would be really nice, Is there an official way to suggest this ?

          Oleg Nenashev added a comment -

          It will be automatically included into a next LTS release baseline which is based on Jenkins 2.267 or above. With the current process this release would happen in early april

          Oleg Nenashev added a comment - It will be automatically included into a next LTS release baseline which is based on Jenkins 2.267 or above. With the current process this release would happen in early april

            austry Ilia Zasimov
            dlindner dlindner
            Votes:
            30 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated:
              Resolved: