Hi,
When I use the /exit or /safeRestart, everything works as expected.
When I use the Manage Jenkins -> Prepare for Shutdown, I have the red headband saying Jenkins will shut down, but nothing is shown in the logs, and Jenkins never stops.
From a fresh installation, you can see the plugins install, and then when I ask for a shutdown, no further log can be seen.
h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tasks.Ant.AntInstaller 2022-05-11 14:34:52.108+0000 [id=133] INFO h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.plugins.gradle.GradleInstaller 2022-05-11 14:34:52.989+0000 [id=133] INFO h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tools.JDKInstaller 2022-05-11 14:34:53.039+0000 [id=310] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization 2022-05-11 14:34:53.043+0000 [id=319] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins 2022-05-11 14:34:53.045+0000 [id=325] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2022-05-11 14:34:53.097+0000 [id=334] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins 2022-05-11 14:34:53.109+0000 [id=341] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions 2022-05-11 14:34:53.114+0000 [id=346] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded 2022-05-11 14:34:53.143+0000 [id=318] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted 2022-05-11 14:34:53.184+0000 [id=330] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs 2022-05-11 14:34:53.185+0000 [id=333] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated 2022-05-11 14:34:53.487+0000 [id=331] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization 2022-05-11 14:34:53.491+0000 [id=133] INFO h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 83 plugins in 1 min 43 sec
Using --rm --restart=always --restart=on-failure makes no difference in behaviour.
[JENKINS-68500] Jenkins 2.34x (launched with Docker) does not quit when asking with Manage Jenkins -> Prepare for Shutdown
Assignee | New: Feng-Yi Xue [ felix_416 ] |
Assignee | Original: Feng-Yi Xue [ felix_416 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
No plans to investigate this. Pull requests are welcome.