Gerrit Code Review Email Notifications

asked 2015-04-27 08:33:52 -0600

zohaib gravatar image

I have been working on CI and trying get email notifications from gerrit but fail to do that . I am using this link link text to try configure gerrit email notifications after performing method given when i check the project.config in gitweb it is showing this at the end of project.config file along with other configurations

[project]
      description = Access inherited by all other projects.
[receive]
       requireContributorAgreement = false
       requireSignedOffBy = false
       requireChangeId = true
[submit]
        mergeContent = true
[capability]
        administrateServer = group Administrators
        priority = batch group Non-Interactive Users
        streamEvents = group Non-Interactive Users
[access "refs/*"]
        read = group Administrators
        read = group Anonymous Users
[access "refs/for/refs/*"]
        push = group Registered Users
        pushMerge = group Registered Users
[access "refs/heads/*"]
        create = group Administrators
        create = group Project Owners
        forgeAuthor = group Registered Users
        forgeCommitter = group Administrators
        forgeCommitter = group Project Owners
        push = group Administrators
        push = group Project Owners
        label-Code-Review = -2..+2 group Administrators
        label-Code-Review = -2..+2 group Project Owners
        label-Code-Review = -1..+1 group Registered Users
        label-Verified = -1..+1 group Non-Interactive Users
        submit = group Non-Interactive Users
        editTopicName = +force group Administrators
        editTopicName = +force group Project Owners
[access "refs/meta/config"]
        exclusiveGroupPermissions = read
        read = group Administrators
        read = group Project Owners
        push = group Administrators
        push = group Project Owners
        label-Code-Review = -2..+2 group Administrators
        label-Code-Review = -2..+2 group Project Owners
        submit = group Administrators
        submit = group Project Owners
[access "refs/tags/*"]
        pushTag = group Administrators
        pushTag = group Project Owners
        pushSignedTag = group Administrators
        pushSignedTag = group Project Owners
[label "Code-Review"]
        function = MaxWithBlock
        copyMinScore = true
        value = -2 This shall not be merged
        value = -1 I would prefer this is not merged as is
        value =  0 No score
        value = +1 Looks good to me, but someone else must approve
        value = +2 Looks good to me, approved
[label "Verified"]
        function = MaxWithBlock
        value = -1 Fails
        value = 0 No score
        value = +1 Verified

[notify "team"]
        email = user1@example.lab
        email = admin@example.lab

i dont why email notification is not working please some body help me to solve this

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2015-04-27 10:30:48 -0600

It looks like you're asking a question about running Gerrit, but you have mistaken the OpenStack Q&A site for Gerrit configuration support.

Questions about how to run Gerrit should be directed to the Gerrit community. They can be found at https://groups.google.com/forum/#!for... and in the #gerrit channel on the Freenode IRC network.

edit flag offensive delete link more
0

answered 2015-04-29 06:55:17 -0600

zohaib gravatar image

I found the error my self i was not modifying the gerrit.config file .

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-04-27 08:33:52 -0600

Seen: 629 times

Last updated: Apr 29 '15