Gerrit no Verified 在最新的2.7版本之后添加Verified

Gerrit no Verified 在最新的2.7版本之后添加Verified

具体方法:

    cd review_site/git/        //进入gerrit代码库目录
    git clone All-Projects.git ddddd
    cd ddddd
    vi project.config
    添加一段verified Lable 在最后面:
    [label "Verified"]
        function = MaxWithBlock
        value = -1 Fails
        value =  0 No score
        value = +1 Verified
    git commit -a -m "Add Label Verified"
    git push origin HEAD:refs/meta/config         //千万不要推错分支
  • 在iphost/#/admin/projects/All-Projects,access 就可以添加Verified了

你可能感兴趣的:(git,label,gerrit,gerrit,VERIFIED)