I am trying to download some plugins via Manage Plugins in Jenkins but strangely I do not see any "Install without restart" or "Download now and install after restart" button at the bottom of the Plugin Manager in the web UI, hence I am not able to install any plugin. Need help to fix it.
Image of the WebUI
Jenkins version : 2.260
Can see below error in the logs :
Oct 06, 2020 5:52:57 PM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException null org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.260.jar!/lib/layout/isAdmin.jelly:28:21: <d:invokeBody> java.lang.StackOverflowError
Step 1: To install a plugin, go to the Jenkins Dashboard and click on Manage Jenkins. Step 2: Scroll down and select Manage Plugins. Step 3: Go to the Available tab and in the filter option, search for the plugins which you want to install. Step 4: Select that plugins and click on Install without restart button.
Installed Plugins Using Jenkins as a kind of Cron, scheduling tasks on background, no plugins will be necessary. But to create an automation to the simplest project you will need at least a version control system adapter as SVN or GIT to get your source code.
Hi@akhtar, You need to tell your Plugin name in your Jenkins CLI command. It will automatically connect to your Jenkins with the help of the jenkins-cli. jar file and install the plugin.
There was an issue with the Jenkins update center which stands resolved. A plugin was added that had a dependency on itself.
https://issues.jenkins-ci.org/browse/JENKINS-63877
You might need to click on "Check Now" to get rid of the cached local data and the install button should be visible.
it seems to depend on a broken JSON on https://updates.jenkins.io/update-center.json
Workaround: manually download and repair the JSON
curl https://updates.jenkins.io/current/update-center.json | sed -e 's/^{/'$(printf "\x1e")'{/' | jq --seq . > /var/lib/jenkins/update-center.json
set Update Site on Plugin Manager > Advanced > Update Site
URL file:///var/lib/jenkins/update-center.json
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With