Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 1 | plugin install |
| 2 | ============== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | plugin install - Install/Add a plugin. |
| 7 | |
| 8 | plugin add - Install/Add a plugin. |
| 9 | |
| 10 | SYNOPSIS |
| 11 | -------- |
| 12 | [verse] |
| 13 | 'ssh' -p <port> <host> 'gerrit plugin install | add' |
| 14 | [--name <NAME> | -n <NAME>] |
| 15 | - | <URL> | <PATH> |
| 16 | |
| 17 | DESCRIPTION |
| 18 | ----------- |
| 19 | Install/Add a plugin. The plugin will be copied into the site path's |
| 20 | `plugins` directory. |
| 21 | |
| 22 | ACCESS |
| 23 | ------ |
| 24 | Caller must be a member of the privileged 'Administrators' group. |
| 25 | |
| 26 | SCRIPTING |
| 27 | --------- |
| 28 | This command is intended to be used in scripts. |
| 29 | |
| 30 | OPTIONS |
| 31 | ------- |
| 32 | -:: |
| 33 | Plugin jar as piped input. |
| 34 | |
| 35 | <URL>:: |
| 36 | URL from where the plugin should be downloaded. This can be an |
| 37 | HTTP or FTP site. |
| 38 | |
| 39 | <PATH>:: |
| 40 | Absolute file path to the plugin jar. |
| 41 | |
| 42 | --name:: |
| 43 | -n:: |
| 44 | The name under which the plugin should be installed. |
| 45 | |
| 46 | EXAMPLES |
| 47 | -------- |
| 48 | Install a plugin from an absolute file path on the server's host: |
| 49 | |
| 50 | ==== |
| 51 | ssh -p 29418 localhost gerrit plugin install -n name \ |
| 52 | $(pwd)/my-plugin.jar |
| 53 | ==== |
| 54 | |
| 55 | Install a plugin from an HTTP site: |
| 56 | |
| 57 | ==== |
| 58 | ssh -p 29418 localhost gerrit plugin install -n name \ |
| 59 | http://build-server/output/our-plugin.jar |
| 60 | ==== |
| 61 | |
| 62 | Install a plugin from piped input: |
| 63 | |
| 64 | ==== |
| 65 | ssh -p 29418 localhost gerrit plugin install -n name \ |
| 66 | - <target/name-0.1.jar |
| 67 | ==== |
| 68 | |
| 69 | GERRIT |
| 70 | ------ |
| 71 | Part of link:index.html[Gerrit Code Review] |