2016-06-16 41 views

回答

0

是的,它可以很容易地集成,安裝gitlab和gerrit。

1. create your repository on gitlab. 
2. git clone --mirror <gitlab repo url> 
3. create project on gerrit. 
4. git push --mirror <gerrit_project_url> 
5. configure gerrit replication plugin, this will replicate your all the changes to gitlab. 

注意:您可以使用gerrit oauth插件使用gitlab和jenkins進行身份驗證來驗證構建。

https://gerrit.googlesource.com/plugins/replication/+doc/master/src/main/resources/Documentation/config.md