Manually install the Jenkins plugin

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.