blob: 9b5273630cd2082e902b8a3043224a867d1be37d [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
Michael Ochmanne2d76a12016-06-23 17:07:37 +02007[verse]
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -08008--
Michael Ochmanne2d76a12016-06-23 17:07:37 +02009_ssh_ -p <port> <host> _gerrit plugin enable_
Brad Larsond5e87c32012-07-11 12:18:49 -050010 <NAME> ...
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -080011--
Brad Larsond5e87c32012-07-11 12:18:49 -050012
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080013== DESCRIPTION
Brad Larsond5e87c32012-07-11 12:18:49 -050014Enable plugins currently disabled. The plugins will be enabled by renaming
15the plugin jars in the site path's `plugins` directory from
16`<plugin-jar-name>.disabled` to `<plugin-jar-name>`.
17
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080018== ACCESS
David Myllykangas511823f2015-01-20 16:34:57 +010019* Caller must be a member of the privileged 'Administrators' group.
20* link:config-gerrit.html#plugins.allowRemoteAdmin[plugins.allowRemoteAdmin]
21must be enabled in `$site_path/etc/gerrit.config`.
Brad Larsond5e87c32012-07-11 12:18:49 -050022
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080023== SCRIPTING
Brad Larsond5e87c32012-07-11 12:18:49 -050024This command is intended to be used in scripts.
25
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080026== OPTIONS
Brad Larsond5e87c32012-07-11 12:18:49 -050027<NAME>::
28 Name of the plugin that should be enabled. Multiple names of
29 plugins that should be enabled may be specified.
30
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080031== EXAMPLES
Brad Larsond5e87c32012-07-11 12:18:49 -050032Enable a plugin:
33
Michael Ochmannb99feab2016-07-06 14:10:22 +020034----
Brad Larsond5e87c32012-07-11 12:18:49 -050035 ssh -p 29418 localhost gerrit plugin enable my-plugin
Michael Ochmannb99feab2016-07-06 14:10:22 +020036----
Brad Larsond5e87c32012-07-11 12:18:49 -050037
38GERRIT
39------
40Part of link:index.html[Gerrit Code Review]
Yuxuan 'fishy' Wang99cb68d2013-10-31 17:26:00 -070041
42SEARCHBOX
43---------