How to disable a plugin when Jenkins is down?

Article ID:204323074
1 minute readKnowledge base

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.