We use Jenkins as the main tool for continuous integration. It has been working very well, but today I sent two jenkins first, so I cannot upgrade/install the plug-in.
There is no way to fix this problem, because we have not changed the settings and have always worked well before.
After searching on Google for a while, I found that I can manually install the plug-in. Let's get started.
Reference wiki: https://wiki.jenkins-ci.org/display/JENKINS/Plugins
Download URL in http://updates.jenkins-ci.org/download/plugins/
Log on to Jenkins server through SSH. We installed Tomcat 7. Jenkins home folder on Ubuntu server at/usr/share/tomcat7/. Jenkins
Go to the Plugins directory in the Jenkins home directory.
Download the HPI file of plugin, for example:
Wget http://mirror.xmission.com/jenkins/plugins/pathignore/0.6/pathignore.hpi
Then, reload the Jenkins application on the admin page of Tomcat. Go to the Jenkins page to check whether the plug-in has been installed. I didn't see the pathignore plug-in installed. Why?
Because the pathignore plug-in depends on another plug-in ruby-runtime.
Download the ruby-runtime plug-in the same way.
Wget http://updates.jenkins-ci.org/download/plugins/ruby-runtime/0.10/ruby-runtime.hpi
Reload Jenkins and it works.
NOTE: If Jenkins runs independently instead of Tomcat
/Var/lib/Jenkins/Plugins directory.