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

Log quiet mode and cancel quiet mode requests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Local dev env:
      LTS 2.32.1 core
      64-bit Zulu OpenJDK 1.8.0_102-b14
      Windows 7 Pro

      Server env:
      LTS 2.19.4 core
      64-bit Oracle JRE 1.8.0_101-b13
      Windows Server 2012 R2

      We recently had a hiccup in which our nightly builds were stalled due to someone or something placing the master in Prepare for Shutdown mode. But with nothing logged for this request, we had no clues to go on. It would be handy to have these requests logged.

      Unless I'm misreading the source, it looks like jenkins.model.Jenkins#doQuietDown just needs a logger call. Likewise with #doCancelQuietDown. Something along the lines of the following.

      Putting Jenkins in quiet mode as requested by <someUser>
      Canceling quiet mode as requested by <someUser>

      (Note: We ruled out ThinBackup, which does log when it forces quiet mode. We don't have TB configured to force quiet mode.)

            Unassigned Unassigned
            brianeray Brian Ray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: