How to disable a plugin when Jenkins is down?

1 minute readKnowledge baseArticle ID 204323074

Issue

  • A plugin is preventing Jenkins to restart

  • I need to disable a plugin and Jenkins is down

Resolution

To disable a plugin via File System, create a file like <PLUGIN_ID>.jpi.disabled inside the $JENKINS_HOME/plugins folder. For example, to disable Green balls plugin, run:

touch $JENKINS_HOME/plugins/greenballs.jpi.disabled
▼
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by Cloudbees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.