blob: c8022ef6ae0b5b4f8ccefc719c5618980f9ef4fa [file] [log] [blame]
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08001= plugin enable
Brad Larsond5e87c32012-07-11 12:18:49 -05002
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08003== NAME
Brad Larsond5e87c32012-07-11 12:18:49 -05004plugin enable - Enable plugins.
5
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08006== SYNOPSIS
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -08007--
Brad Larsond5e87c32012-07-11 12:18:49 -05008'ssh' -p <port> <host> 'gerrit plugin enable'
9 <NAME> ...
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -080010--
Brad Larsond5e87c32012-07-11 12:18:49 -050011
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080012== DESCRIPTION
Brad Larsond5e87c32012-07-11 12:18:49 -050013Enable plugins currently disabled. The plugins will be enabled by renaming
14the plugin jars in the site path's `plugins` directory from
15`<plugin-jar-name>.disabled` to `<plugin-jar-name>`.
16
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080017== ACCESS
David Myllykangas511823f2015-01-20 16:34:57 +010018* Caller must be a member of the privileged 'Administrators' group.
19* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
20must be enabled in `$site_path/etc/gerrit.config`.
Brad Larsond5e87c32012-07-11 12:18:49 -050021
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080022== SCRIPTING
Brad Larsond5e87c32012-07-11 12:18:49 -050023This command is intended to be used in scripts.
24
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080025== OPTIONS
Brad Larsond5e87c32012-07-11 12:18:49 -050026<NAME>::
27 Name of the plugin that should be enabled. Multiple names of
28 plugins that should be enabled may be specified.
29
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080030== EXAMPLES
Brad Larsond5e87c32012-07-11 12:18:49 -050031Enable a plugin:
32
33====
34 ssh -p 29418 localhost gerrit plugin enable my-plugin
35====
36
37GERRIT
38------
39Part of link:index.html[Gerrit Code Review]
Yuxuan 'fishy' Wang99cb68d2013-10-31 17:26:00 -070040
41SEARCHBOX
42---------