I have installed a fresh jenkins on my amazon ec2 micro instance but when I access the plugin manager, I don't have any plugin available. What's wrong?
I used this guide to install https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
I'm running ubuntu 11.04 64 bits and jenkins-war:1.450
Looking my log file I see
"windmill": {"buildDate": "Feb 06, 2010", "dependencies": [], "developers": [{"developerId": "admc", "name": "Adam Christian"}], "excerpt": "This plugin allows you to configure and run <a href='http://www.getwindmill.com/'>Windmill</a> functional tests.", "labels": ["external"], "name": "windmill", "previousTimestamp": "2009-06-25T20:40:46.00Z", "previousVersion": "1.4", "releaseTimestamp": "2010-02-06T13:59:22.00Z", "requiredCore": "1.319", "scm": "svn.dev.java.net", "sha1": "npNnBKCCpnFCi+Tsw/QA1mQyyyI=", "title": "Windmill Plugin", "url": "http://updates.jenkins-ci.org/download/plugins/windmill/1.5/windmill.hpi", "version": "1.5", "wiki": "https://wiki.jenkins-ci.org/display/JENKINS/Windmill+Plugin"}, "ws-cleanup": {"buildDate": "Dec 07, 2011", "dependencies": [], "developers": [{"developerId": "
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)
at net.sf.json.util.JSONTokener.nextString(JSONTokener.java:244)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:352)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:875)
at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:917)
at net.sf.json.JSONArray.fromObject(JSONArray.java:139)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:358)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:875)
at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:875)
at net.sf.json.JSONObject.fromObject(JSONObject.java:170)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:355)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:875)
at net.sf.json.JSONObject._fromString(JSONObject.java:1064)
at net.sf.json.JSONObject.fromObject(JSONObject.java:176)
at net.sf.json.JSONObject.fromObject(JSONObject.java:147)
at hudson.model.UpdateSite.doPostBack(UpdateSite.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
... 34 more
Jan 31, 2012 12:13:52 PM hudson.model.UpdateSite doPostBack
INFO: Obtained the latest update center data file for UpdateSource default
The simplest and most common way of installing plugins is through the Manage Jenkins > Manage Plugins view, available to administrators of a Jenkins environment. Most plugins can be installed and used immediately by checking the box adjacent to the plugin and clicking Install without restart.
Jira plugin is one of the most popular and sought-after ticketing tools. It is an open-source plugin that integrates Jenkins with the Atlassian Jira Software (both Cloud and Server versions), enabling the DevOps teams more visibility into the development pipeline.
Some plugins only affect the Jenkins system configuration, rather than individual jobs; you should be able to find those by changing the find method in your code to include /home/user/. jenkins/config. xml. Many plugins have their own configuration files in $JENKINS_HOME, e.g. $JENKINS_HOME/org.
It looks like perhaps the Update Center JSON file which describes the available plugins was temporarily corrupt, or didn't get downloaded correctly.
I just tried downloading and parsing this file just now and it looks ok, so I would try triggering an update check manually.
Go to: Manage Jenkins → Manage Plugins → Advanced, then click Check now in the bottom right-hand corner.
The entry http://updates.jenkins-ci.org/update-center.json in the Manage-Plugins->Advanced->Update Site is missing on some Linux - Flavours and if so, obviously you won't see any available plugins.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With