Unable to find plugins in list of available plugins in jenkins

后端 未结 27 1214
无人及你
无人及你 2020-12-04 21:30

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

http://localhost:8080/jenkins

In browser

相关标签:
27条回答
  • 2020-12-04 22:26

    I had the same issue and was able to resolve it by enabling the browser metadata download. Please follow the steps below the enable this configuration in Jenkins

    • Step 01: Select Manage Jenkins and click on Configure Global Security
    • Step 02: Under the Plugin Manager section tick the "Use browser for metadata download"
    • Step 03: View Available tab under the Plugin Manager section in Manage Jenkins
    0 讨论(0)
  • 2020-12-04 22:26

    My Environment

    • Windows 7 Enterprise
    • Jenkins 2.89.2
    • Direct access to Internet

    I tried most of the suggestions provided here but nothing worked until I tried following

    First: I needed to run as 'Administrator'

    Second: It was using default user home dir at C:\users\yourusername\.jenkins.

    What Worked:

    I changed default dir above to a different folder by defining JENKINS_HOME environment variable and I was able to get new plugins.

    0 讨论(0)
  • 2020-12-04 22:27

    Go to: Manage Jenkins → Manage Plugins → Advanced, then click Check now in the bottom right-hand corner. When you go back to Available tab all plugins should be listed.

    0 讨论(0)
  • 2020-12-04 22:27

    This was so frustrating... Not because of difficulty but lack of clarity and good documentation, at least for the issues I encountered. I ended up having to set up the Manage Plugins -> Advanced -> HTTP Proxy Configuration in a very specific, picky way. If I didn't do exactly this, minus the last noted thing on the bottom, I could not get this working. Maybe it's my work's firewall, maybe it's jenkins, either way give this a shot if you haven't been able to successfully update your proxy settings. I used the Validate Proxy tool in the menu. I'll very briefly describe the infographic basics below

    1. Don't add http:// or https:// to your Server field
    2. Use your jenkins credentials for Username and Password, not your proxy credentials (if that's even applicable)
    3. Add http:// to your Test URL if you're checking something like Google or Yahoo
    4. Submit your changes
    5. Then run check-now
    6. (Optional?) Change Update site from HTTP to HTTPS

    You should be able to now update your plugins fingers-crossed

    0 讨论(0)
  • 2020-12-04 22:29

    For me, the following works out. I experience this empty available list issue after a fresh install jenkins 1.638 on Ubuntu 1404 in virtual box. We're under an ISA proxy server.

    Go to Jenkins->Manage Plugins->Advanced and setup the proxy as below:

    Host: 192.168.x.x (your Proxy IP)

    Port: 80 (Your proxy port)

    Note that I find the format matters. I tried adding http:// it doesn't work. It has to be exactly like above.

    Then hit the check now button in the bottom right as everyone else suggested. Then you get the list.

    0 讨论(0)
  • 2020-12-04 22:30

    This answer is specific to Windows 10. If you use the installer that Jenkins now comes bundled as, Jenkins will get installed as a service. By default, the service runs under the Local System account. You have to change it to run under the Network Service account in order for Jenkins to be able to connect with the plugin update service. If you have Administrator privileges on the system then these steps should help:

    1. Open Command Prompt.
    2. Type in Services.msc and hit enter.
    3. The Services window should be open now.
    4. Locate the Jenkins instance in the list.
    5. Right click on it and click Properties.
    6. Go to the Log On tab (should be the second one).
    7. There should be 2 radio buttons.
      • Local System Account (selected)
      • This Account (unselected)
    8. Select This Account.

    9. Type in Network Service in the text box.

    10. Provide your windows password.
    11. Hit Apply and OK.
    12. Restart the Jenkins service.
    13. Reload Jenkins in browser.

    For added measures, you could also add a rule in Windows Firewall (or any other Firewall that you may be using) to allow outbound requests from Jenkins. Point to the jenkins.exe application that should be located in the installation directory of Jenkins for this rule.

    0 讨论(0)
提交回复
热议问题