Gerrit plugin安裝和刪除

對Gerrit的plugin安裝和刪除須要經過它的sshd來管理。ssh

如:ssh -p 8418 admin@localhost gerrit plugin ls 顯示當前插件狀況。.net

其餘命令能夠經過ssh -p 8418 admin@localhost gerrit plugin --help查看。插件

安裝爲ssh -p 8418 admin@localhost gerrit plugin install --name gerrit-events.jar $(pwd)/gerrit-events-1.99.1.jarrem

卸載爲ssh -p 8418 admin@localhost gerrit plugin remove gerrit-eventsget

注:8418端口能夠經過安裝gerrit目錄下的gerrit.config文件裏的配置找到。it

如: /home/gerrit2/gerrit_site_http/etc/gerrit.config.event

相關文章
相關標籤/搜索