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