|NO.Z.00366|——————————|CloudNative|——|KuberNetes&CI/CD.V04|——|Jenkins.v04|插件.v04|

一、jenkins插件安装
### --- 将下载好的插件拷贝到plugins目录下
~~~     # 停止jenkins进程
~~~     将插件包导入宿主机jenkins-plugin-war.tar.gz
~~~     升级插件之前需要备份

[root@k8s-node01 CICD]# ls -al 
-rw-r--r--  1 root root  549272426 Apr  7 10:20 jenkins-plugin-war.tar.gz
### --- 解压到当前目录/root/.jenkins/plugins/目录下

[root@k8s-node01 CICD]# tar -zxvf jenkins-plugin-war.tar.gz -C /root/.jenkins/plugins/
### --- 启动Jenkins

[root@k8s-node01 CICD]# nohup java -jar jenkins.war --httpPort=28080 &
[1] 63577
[root@k8s-node01 CICD]# nohup: ignoring input and appending output to ‘nohup.out’
### --- 查看启动日志
~~~     打开这个日志之后jenkins就可以正常使用了

[root@k8s-node01 CICD]# tail -f CICD/nohup.out 
2021-06-02 08:00:13.233+0000 [id=19]    INFO    hudson.WebAppMain$3#run: Jenkins is fully up and running
二、登录jenkins
### --- 登录jenkins

~~~     ——>账户:admin    密码:password
三、查看配置的插件并修改部分插件
### --- 查看配置的插件并修改部分插件

~~~     ——>http://192.168.1.14:28080——>系统管理——>插件管理——>Installed——>安装下列插件——>END
### --- 更换插件地址

~~~     # 历史插件地址:
https://updates.jenkins.io/update-center.json
~~~     # 替换地址
http://mirror.esuni.jp/jenkins/updates/update-center.json
### --- 下载下列常用插件

Active Choices Plug-in              // 可选的变量
Blue Ocean
Blue Ocean Core JS
Blue Ocean Executor Info            // 已经弃用
Blue Ocean Pipeline Editor          // 会使用blue ocean 去编辑流水线
Build Pipeline Plugin
Credentials Binding Plugin
Credentials Plugin
Dashboard for Blue Ocean 
Declarative Pipeline Migration Assistant
Delivery Pipeline Plugin
Git Parameter Plug-In
Hidden Parameter plugin                // 隐藏的变量
Kubernetes CLI Plugin
kubernetes plugin
LDAP Plugin
List Git Branches Parameter Plugin
Parameterized Remote Trigger Plugin
Parameterized Trigger plugin
Pipeline                            // 所有的Pipeline都需要安装
Sonar Quality Gates Plugin
### --- 插件安装地址:
~~~     此为插件安装地址;若是后期替换插件,可以直接将这个包拷贝过去即可使用
~~~     更新插件之前一定要备份系统,若是插件更新失败,有可能导致Jenkins无法启动

[root@k8s-node01 ~]# ls .jenkins/plugins/
[root@k8s-node01 plugins]# pwd
/root/.jenkins/plugins 

 
 
 
 
 
 
 
 
 

Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
                                                                                                                                                   ——W.S.Landor

 

 

posted on   yanqi_vip  阅读(13)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示