How to disable a plugin when Jenkins is down?
2024-08-27 08:44:27
===(different .jpi and bak and restore it )===
A plugin is preventing Jenkins to restart
Environment
- Jenkins
- CloudBees Jenkins Enterprise
- CloudBees Jenkins Operations Center
Resolution
To disable a plugin: touch <$JENKINS_HOME>/plugins/<PLUGIN_ID>.jpi.disabled
For example, to disable Green balls plugin, run:
touch $JENKINS_HOME/plugins/greenballs.jpi.disabled
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Resolution
First of all, check if the Pipeline plugins are not disabled, so there should be no workflow-*.[hpi|jpi].disabled file into the $JENKINS_HOME/plugins directory. You must remove them in case of.
If not, here the steps that fixed the issue with the environment described above:
1. Download the workflow-api version 1.14 from the Jenkins plugins download site
2. Remove the workflow-api.jpi folder and file from the $JENKINS_HOME/plugins directory
3. Copy the workflow-api.hpi file into the $JENKINS_HOME/plugins directory
4. Create a workflow-api.jpi.pinned empty file into the $JENKINS_HOME/plugins directory
最新文章
- Go语言的堆栈分析
- Linear Algebra lecture10 note
- HTML与CSS二三事
- JS按位非(~)运算符与~~运算符的理解分析
- NodeJS学习笔记之MongoDB模块
- AE与AO的区别
- 搭建C#框架 博文观感
- c语言,链表
- 程序ajax请求公共组件:app-jquery-http.js
- 《MySQL必知必会》[01] 基本查询
- iOSXML &; JSON 简介
- poj1183 反正切函数
- shell 参数列表的获取&;shell使用的一些总结
- Http长连接
- 使用kbmmw 生成客户端delphi函数原型
- 关于SQL Server将一列的多行内容拼接成一行的问题讨论【转】
- How to Repair GRUB2 When Ubuntu Won’t Boot
- hdu5064 DLX可重复覆盖+二分
- 一个简单的 JSON 生成/解析库
- Java编程的逻辑 (49) - 剖析LinkedHashMap
热门文章
- iOS Runloop的超级讲解
- mysql的wait_timeout配置(此处处理方法是有问题的,不建议作为操作参考)
- 代码审计之DocCms漏洞分析
- WAF Bypass 笔记(SQL注入篇)
- zabbix的启动和关闭脚本
- 导入贴图操作:处理贴图MaxSize和Format
- C++ template —— 深入模板基础(二)
- WP8.1学习系列(第九章)——透视Pivot开发指南
- delphi for android 获取手机号
- 【大数据系列】节点的退役和服役[datanode,yarn]