Download, configure and Enable the download commands plugin

open gerrit.config and add these lines

[download]
command = checkout
command = cherry_pick
command = pull
command = format_patch
command = repo_download
scheme = ssh
scheme = http
scheme = anon_http
scheme = anon_git
scheme = repo_download
download the binary jar package download-commands plugin from here (Binaries of more plugins are listed [here] (http://gerritcodereview-plugins.storage.googleapis.com/index.html)

put this jar file under the plugin folder

If you still do not see these commands in the UI - Clean the cache and it will solve it

How to install delete-project plugin in gerrit - Method 1?

I managed to install delete-project plugin after following this thread:

https://groups.google.com/forum/#!topic/repo-discuss/hbBc2TUhl7s

and then install according to:

https://gerrit-review.googlesource.com/Documentation/cmd-plugin-install.html

P.S. I build the jar following the below steps:

git clone --recursive https://gerrit.googlesource.com/gerrit
cd gerrit
git clone --recursive https://gerrit.googlesource.com/plugins/delete-project
buck build delete-project:delete-project
You should then find the delete-project.jar in buck-out/gen/delete-project/delete-project.jar

 

How to install delete-project plugin in gerrit - Method 2?

Download the delete-project.jar from the build that matches your Gerrit version on https://gerrit-ci.gerritforge.com
Copy it to gerrit/plugins directory.
Restart Gerrit.

  Call us on +91 700 483 5930   |   +91 700 483 5706     Contact@DevopsSchool.com