Unable to find plugins in list of available plugins in jenkins

后端 未结 27 1316
无人及你
无人及你 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: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.

提交回复
热议问题