Unable to find plugins in list of available plugins in jenkins

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

    My solution is here

    If you type in "http://updates.jenkins-ci.org/update-center.json" directory to brower's address bar, (in my case) it actually redirected to "http://ftp.tsukuba.wide.ad.jp/software/jenkins/updates/current/update-center.json."

    It worked when I set "http://ftp.tsukuba.wide.ad.jp/software/jenkins/updates/current/update-center.json" to Jenkins' update site, and click "Save" & "Update."

    Hope this helps.

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

    You can install plugins manually, to this this, go to advanced tab in manage plugins, after downloading plugins you need, submit these

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

    With Jenkins 2.249.3 I expected the plugin list to be filled automatically, so I tried almost all of the suggestions from the other answers, without success. Then I entered something in the plugin search box and the matching plugins were displayed.

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

    You can force update the plugin list by hand.

    This worked for me:

    wget -O default.js http://updates.jenkins-ci.org/update-center.json
    sed '1d;$d' default.js > default.json
    curl -X POST -H "Accept: application/json" -d @default.json http://localhost:8080/updateCenter/byId/default/postBack --verbose
    

    (I created this in order to be able to deploy Jenkins and install plugins in batch)

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

    I came across this SO answer while I was experiencing the same issue. When I would click "Check Now" to force Jenkins to download the latest list, my browser would just hang. It wasn't until I tailed the Jenkins log that I found this here:

    Mar 10, 2014 1:15:54 PM hudson.security.csrf.CrumbFilter doFilter
    WARNING: No valid crumb was included in request for /administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test.  Returning 403.
    

    Looks like the issue has to do with how I've put Jenkins behind a reverse proxy and enabled the option to prevent Cross Site Request Forgery. Once I disabled that, the "Check Now" completed within 30 seconds.

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

    After trying many things (including all the solutions posted here) and hours of searching... I've ended up with the upgrade of jenkins to version 1.638.

    This helps to solve the frustrated problem with empty available plugins in older version of jenkins!

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