In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
 
            
                     
                
2025-10-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
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:
 
At this time, the thief is embarrassed, what to do! Can only search the Internet, a search found that there are many solutions, a closer look is to upgrade the site, for some good network conditions may be effective for the network is not good, that is simply a bolt from the blue, helpless, desperate (do not admit, I am the same, ha! ), but there is always a way out, and jenkins also leaves a way to install it offline. Let's not say much nonsense below:
Waiter, serve!
Sir, here comes the food.
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 as fierce as a tiger:
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:
Yell! This is done, as simple as that, commonly used components are included.
Reference documentation for jenknins installation and usage:
Https://blog.51cto.com/13859393/2166141
Jenkins modifies the default / root/.jenkins path reference document:
Https://blog.51cto.com/13859393/2462371
Where there is a will, there is a way, burning down the bridges, the hundred and two Qin Guan will eventually belong to Chu.
If you live up to your painstaking efforts, you can swallow Wu with three thousand more.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about

The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r


A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from

Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





 
             
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.