I am facing the issue of installing the plugins using cli. I am using latest version of jenkins 2.479.1.
[1.483s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.frame.Frame$Builder source: file:/root/jenkins-cli.jar
[1.484s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.frame.TyrusFrame$FrameType source: file:/root/jenkins-cli.jar
[1.484s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.Masker source: file:/root/jenkins-cli.jar
[1.485s][info][class,load] java.util.concurrent.CompletableFuture$Signaller source: jrt:/java.base
[1.486s][info][class,load] java.util.concurrent.ForkJoinTask$Aux source: shared objects file
[1.530s][info][class,load] hudson.cli.CLI$ClientSideImpl$1 source: file:/root/jenkins-cli.jar
[11.530s][info][class,load] java.util.IdentityHashMap$IdentityHashMapIterator source: shared objects file
[11.530s][info][class,load] java.util.IdentityHashMap$KeyIterator source: shared objects file
[16.709s][info][class,load] io.jenkins.cli.shaded.jakarta.websocket.Decoder$BinaryStream source: file:/root/jenkins-cli.jar
[16.712s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.MessageHandlerManager$MessageHandlerComparator source: file:/root/jenkins-cli.jar
[16.712s][info][class,load] java.util.Arrays$LegacyMergeSort source: shared objects file
[16.712s][info][class,load] java.util.TimSort source: shared objects file
[16.713s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.BasicMessageHandler source: file:/root/jenkins-cli.jar
[16.714s][info][class,load] java.io.DataInputStream source: shared objects file
[16.716s][info][class,load] hudson.cli.PlainCLIProtocol$EitherSide$$Lambda$26/0x00007fdfa802b4a0 source: hudson.cli.PlainCLIProtocol
[16.717s][info][class,load] hudson.cli.PlainCLIProtocol$1 source: file:/root/jenkins-cli.jar
Installing git from update center
[44.141s][info][class,load] io.jenkins.cli.shaded.jakarta.websocket.CloseReason$CloseCodes source: file:/root/jenkins-cli.jar
[44.142s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.frame.CloseFrame$1 source: file:/root/jenkins-cli.jar
[44.142s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.StrictUtf8 source: file:/root/jenkins-cli.jar
[44.143s][info][class,load] java.nio.CharBuffer source: shared objects file
[44.143s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.Utf8DecodingException source: file:/root/jenkins-cli.jar
[44.143s][info][class,load] java.nio.charset.CharsetDecoder source: jrt:/java.base
[44.144s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.StrictUtf8$Decoder source: file:/root/jenkins-cli.jar
[44.144s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.StrictUtf8$Encoder source: file:/root/jenkins-cli.jar
[44.144s][info][class,load] sun.nio.cs.ArrayEncoder source: jrt:/java.base
[44.145s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.client.ClientManager$1$1 source: file:/root/jenkins-cli.jar
[44.153s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.container.jdk.client.TaskQueueFilter$1 source: file:/root/jenkins-cli.jar
[44.154s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.core.CloseReasons source: file:/root/jenkins-cli.jar
[44.154s][info][class,load] io.jenkins.cli.shaded.org.glassfish.tyrus.container.jdk.client.TransportFilter$5 source: file:/root/jenkins-cli.jar
Installing gogs-webhook from update center
ERROR: Failed to install plugin gogs-webhook