Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Jenkin's Plugin without Restart

How to install my own jenkins plugin without jenkins restart. I have seen in update center it install plugins without restart but I am not able to install my own plugins without restart. Please let me know how to do it. I am using Jenkins 1.509.2

like image 707
BHANSALI MUKESH Avatar asked Jun 12 '14 12:06

BHANSALI MUKESH


People also ask

Why Jenkins plugins are not getting installed?

Jenkins Update Center is not Synced Step 1: Go to manage Jenkins --> Manage Plugins and click the advanced tab. Scroll down and towards the end of the page, you will find the Update Site option as shown below. Click check now and sync with the update center. Step 2: Restart the Jenkins server.

How Install all required plugins Jenkins?

Installing the plugin manually Then go to the Jenkins dashboard and select Manage Jenkins. Step 2: Select Manage Plugins. Step 3: Click on Advanced tab and on the upload plugin section browse the downloaded plugin's location. Step 4: Then click on the Upload button.

How do I download Jenkins plugins offline?

Setup Jenkins Plugins in Offline Mode To install plugins in offline mode, you have to download the respetive . hpi plugin file from https://updates.jenkins-ci.org/download/plugins/.


2 Answers

Installing custom plugin for the first time is working Good without restart. But when I would like to perform an update to the plugin then it is specifying that I should restart the Jenkins server for sure.

like image 88
PhaniKumar Avatar answered Sep 22 '22 02:09

PhaniKumar


During installation of a plugin you can select "Install without restart" button.

enter image description here

However, because of the architectual choice made in Jenkins, this same scheme wouldn't allow us to upgrade existing plugins. Jenkins added the plugin support in 1.44, since that time Jenkins required a restart for new plugins to take effect. This is because we load plugins at start-up, doing all kinds of computation to build up the immutable data structure around all the plugins.

like image 32
Devesh Avatar answered Sep 19 '22 02:09

Devesh