blob: 79d1f4a5a930c18751b59311a1ab73065cad2035 [file] [log] [blame]
Edwin Kempinf7295742012-07-16 15:03:46 +02001plugin install
2==============
3
4NAME
5----
6plugin install - Install/Add a plugin.
7
8plugin add - Install/Add a plugin.
9
10SYNOPSIS
11--------
12[verse]
13'ssh' -p <port> <host> 'gerrit plugin install | add'
14 [--name <NAME> | -n <NAME>]
15 - | <URL> | <PATH>
16
17DESCRIPTION
18-----------
19Install/Add a plugin. The plugin will be copied into the site path's
20`plugins` directory.
21
22ACCESS
23------
24Caller must be a member of the privileged 'Administrators' group.
25
26SCRIPTING
27---------
28This command is intended to be used in scripts.
29
30OPTIONS
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
46EXAMPLES
47--------
48Install 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
55Install 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
62Install 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
69GERRIT
70------
71Part of link:index.html[Gerrit Code Review]