Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install jenkins components offline

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Jenkins is an open source software project, which is a continuous integration tool based on Java development, which is used to monitor continuous repetitive work. It aims to provide an open and easy-to-use software platform and make continuous integration possible.

The features of Jenkins include:

1. Continuous software release / test project.

2. Monitor the work performed by external calls.

When we install jenkins, sometimes jenkins shows that we cannot connect to the network, or due to environmental restrictions, jenkins can only be deployed in a private network environment, so it will be displayed as shown below (you can only skip plug-in installation):

Sometimes when there is a network, the network speed may be slow to enter the management plug-in in jenkins system management to check the optional plug-in:

First, let's take a look at the installed plug-ins (obviously nothing):

The following link already contains the plug-ins commonly used in jenkins. If you want to download it yourself, you can also download it on the official website:

Link: https://pan.baidu.com/s/1kjuN4IYdRp7WgkT5wau5Aw extraction code: tv7l

Official website plug-in link: https://plugins.jenkins.io/

Let's start our operation:

Find the working directory of jenkins, which is usually under the / root/.jenkins directory. If you are not clear, you can check it in system Administration and system Settings:

There will be a plugins directory under this directory:

If none of these methods are found, you can search through find:

Find /-name "plugins"

Enter the plugins directory:

Cd / root/.jenkins/plugins

Upload the jenkins component installation package and extract it:

# install the upload tool yum-y install lrzsz# and upload the tar package using rz

# decompress: tar zxf jenkins-plugins.tar.gz# enter the decompression directory and have a look: cd plugins

At this time, I found it very awkward. I have an extra layer of plugins directory. Just delete it:

Mv / root/.jenkins/plugins/plugins/ / root/rm-rf / root/.jenkins/plugins/mv / root/plugins/ / root/.jenkins/cd / root/.jenkins/plugins/

There is no problem this time:

Next, let's restart jenkins. I ran the jenkins.war package in tomcat, so I just restart tomcat directly. You can restart it as you install it, and the eight Immortals cross the sea to show their powers.

After rebooting, go to the jenkins component management page here to view the installed components:

It's done, and all the common components are included.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report