How to install delete-project plugin in gerrit?

后端 未结 4 825
北荒
北荒 2020-12-30 07:34

I want to install delete-project plugin to my gerrit server. As per the latest version, I should clone it from google source and use buck build.

I cloned it and my b

4条回答
  •  鱼传尺愫
    2020-12-30 07:51

    I struggled with the answers above, maybe due to having a new version of Gerrit (2.11.2). The steps in this document all worked for me, with one addition - you need to add the --recursive flag when you clone the Gerrit source code so that it includes the source for the standard plugins:

    git clone --recursive https://gerrit.googlesource.com/gerrit
    

    Also, make sure to check out the correct Git branch for your Gerrit version,e.g.

    git fetch origin stable-2.11:stable-2.11
    git checkout stable-2.11
    

提交回复
热议问题