Disable one or more installed plugins.
Disable the plugins with the given short names. You can define how to proceed with the dependent plugins and if a restart after should be done. You can also set the quiet mode to avoid extra info in the console.
Disable the plugins with the given short names. You can define how to proceed with the dependent plugins and if a restart after should be done. You can also set the quiet mode to avoid extra info in the console.
Command
java -jar jenkins-cli.jar -s https://jenkins.garasiku.autos/ disable-plugin plugin1 plugin2 plugin3 ... [-quiet (-q)] [-restart (-r)] [-strategy (-s) strategy]
plugin1 plugin2 plugin3 : Plugins to be disabled.
-quiet (-q) : Be quiet, print only the error messages (default:
false)
-restart (-r) : Restart Jenkins after disabling plugins. (default:
false)
-strategy (-s) strategy : How to process the dependent plugins.
- none: if a mandatory dependent plugin exists and
it is enabled, the plugin cannot be disabled
(default value).
- mandatory: all mandatory dependent plugins are
also disabled, optional dependent plugins remain
enabled.
- all: all dependent plugins are also disabled, no
matter if its dependency is optional or mandatory.
(default: none)