Unable to find plugins in list of available plugins in jenkins

jenkins, jenkins-plugins

Solution

The problem may be that your browser proxy settings are not configured properly.

Jenkins doesn't retrieve the plugin list directly from the update center, it tells your browser to retrieve it and post it back to Jenkins. So the HTTP proxy settings within Jenkins are ignored for this step.

So if you are using a browser that is configured to only work within your network, to connect to local servers such as a Jenkins instance, then you won't be able to update the plugin list.

(This just happened to me and took a frustrating hour to work out.)

Problem

I have installed `Jenkins` by deploying its WAR file to `Tomcat`. On typing ``` http://localhost:8080/jenkins ``` In browser, `jenkins` home page is opening which means `jenkins` is successfully installed. I configured system settings, gave `jdk` and maven path and save them. Then to install plugins, I clicked on Jenkins->Manage plugins and clicked on Available tab but could not find any plugins. I tried three solutions: Configured proxy for Jenkins by going to `Jenkins->Manage Plugins->Advanced`(did not find plugins) Restarted server, refreshed browser and went to `Jenkins->Manage plugins->Available` (still did not find any plugins). So, I read somewhere that we have update plugins forcefully if they are not updated automatically. So, went to `Jenkins->Manage Plugins->Advanced` and clicked the tab 'Check now' (Still did not find any plugins on clicking on Available tab). Finally I read somewhere that if we add the pluginGroup 'org.jvnet.hudson.tools' to settings.xml file of maven, problem may be resolved. So, added the corresponding code to settings.xml: Then I tried again but still could not find any plugins in ``` Jenkins->Manage plugins->Available ``` If any other solution is there which can resolve this problem please let me know.

Original source