On 2013-02-23 1:15 AM, "Chad" <innocentkiller(a)gmail.com> wrote:
On Fri, Feb 22, 2013 at 11:30 PM, MZMcBride <z(a)mzmcbride.com> wrote:
> Matthew Flaschen wrote:
>>On 02/22/2013 09:38 PM, Chad wrote:
>>>So, I've seen this site tossed around quite a bit recently, and I'm
>>>curious: is there any plan to start integrating this jenkins and our
>>>other jenkins? More importantly: is there any chance to get the results
>>>of these sorts of tests in Gerrit? I think it's great that we're
>>>expanding test coverage, but without feedback on people's patches
>>>they're usually unaware that they're breaking things.
>>
>>I agree. I think our goal should be to have all the tests (QUnit,
>>Cucumber, PHPUnit (generally already happens for this one)) result in
>>Jenkins votes on Gerrit.
>
> Tangentially: I've been getting a lot of Gerrit e-mail (G-mail, if you
> will) from jenkins-bot lately. It can increase the noise from an action
to
> a changeset from one e-mail to three or four in
some cases, it seems
like.
>
> I nearly filed a bug in Bugzilla about this, but I figured I'd be told
off
> for not simply using local mail filtering rules.
And I can. But I'm
> wondering if there isn't a better way to disable e-mail from a
particular
> user (an ignore feature in Gerrit, perhaps?). Or
perhaps Gerrit can only
> send a jenkins-bot-related e-mail on failure (it currently seems to
e-mail
no matter
what, I think). Any insight into this would be appreciated.
Not really possible. There's no way to filter e-mail sending based
on its content. All we can do is disable e-mail sending per group
(which is what we did for L10n-bot).
I know you probably don't want to hear it--but if you're wanting to
filter Gerrit mail, the best option is to do it locally. That's really
the main reason all the e-mails contain those Gerrit-* lines at the
end--to enable easier filtering.
-Chad
Could we make jenkins post with a different account depending on if the
test results are positive or negative and then filter based on that?
-bawolff