728x90
Gerrit Verified Setting
1. All-project Setting
All-project clone 후
git init
git remote add origin ssh://admin@remote.site.com:29418/All-Projects
git fetch origin refs/meta/config:refs/remotes/origin/meta/config
git checkout meta/config
vi project.config
[label "Verified"]
function = MaxWithBlock
value =-1 Fails
value = 0 No score
value = +1 Verified
git commit -a -m "verified"
git push origin HEAD:refs/meta/config
remote : ERROR: author email address ~
remote : ERROR: does not match your user account
와 같은 Error가 발생 할 경우
git push
git push origin HEAD:refs/meta/config
2. Verified 권한 설정
Projects > Access Reference: refs/heads/*에 Label Verified 추가
3. 권한 설정
refs/heads/*의 권한을 변경하여 설정하였음
'Installation & Setting > Gerrit' 카테고리의 다른 글
Jenkins Setting for Gerrit (1) | 2019.07.28 |
---|---|
Git Review (0) | 2019.07.28 |
INSTALLATION GERRIT (0) | 2019.07.28 |