Gerrit 添加用户

 

使用ssh添加用户

ssh name@localhost -p 29418 gerrit create-account username --email username@email --full-name userfullname --http-password httppassword

 

在gerrit的安装目录使用htpasswd添加用户:

htpasswd -m htpasswd.conf username

 

用gerrit sql 添加用户

ssh name@localhost -p 29418 gsql

insert into account_external_ids(account_id, email_address, password, external_id)values(id,null,null,'gerrit:username');

 

参考:

http://blog.csdn.net/benkaoya/article/details/8680886

posted @ 2017-04-12 14:25  tubo  阅读(1942)  评论(0编辑  收藏  举报