在jenkins的可用插件列表中找不到插件 [英] Unable to find plugins in list of available plugins in jenkins

查看:159
本文介绍了在jenkins的可用插件列表中找不到插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过将其WAR文件部署到Tomcat来安装了Jenkins.键入

I have installed Jenkins by deploying its WAR file to Tomcat. On typing

http://localhost:8080/jenkins

在浏览器中,jenkins主页正在打开,这表示jenkins已成功安装.我配置了系统设置,提供了jdk和maven路径并保存它们.然后要安装插件,我单击了Jenkins-> Manage插件,然后单击了Available选项卡,但找不到任何插件.我尝试了三种解决方案:

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:

  1. 通过转到Jenkins->Manage Plugins->Advanced(未找到插件)为Jenkins配置代理

  1. Configured proxy for Jenkins by going to Jenkins->Manage Plugins->Advanced(did not find plugins)

重新启动服务器,刷新浏览器并转到Jenkins->Manage plugins->Available(仍未找到任何插件).因此,我在某处读到,如果没有自动更新,我们会强制使用更新插件.因此,转到Jenkins->Manage Plugins->Advanced并单击立即检查"标签(在单击可用"标签后仍未找到任何插件).

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).

最后我读到某个地方,如果将pluginGroup'org.jvnet.hudson.tools'添加到maven的settings.xml文件中,则可能会解决问题.因此,将相应的代码添加到settings.xml:

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.

推荐答案

问题可能是您的浏览器代理设置未正确配置.

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

Jenkins不会直接从更新中心检索插件列表,它会告诉您的浏览器检索插件列表并将其发布回Jenkins.因此,此步骤将忽略Jenkins中的HTTP代理设置.

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.

因此,如果您使用的浏览器配置为仅在网络内运行,并且要连接到本地服务器(例如Jenkins实例),则将无法更新插件列表.

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.)

这篇关于在jenkins的可用插件列表中找不到插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆