CI gives +1 on gerrit as a response to 'ci please build'.

Barak Korren bkorren at redhat.com
Mon Jan 16 20:01:05 UTC 2017


On 16 January 2017 at 16:14, Eyal Edri <eedri at redhat.com> wrote:
>
>
> On Mon, Jan 16, 2017 at 4:05 PM, Gil Shinar <gshinar at redhat.com> wrote:
>>
>> Edy showed me the issue. I think we haven't thought about that.
>> 'ci please build' actually executes build artifacts jobs and when they
>> succeed, they change the "continuous integration" flag to +1.
>>
>> Can we control it from the Gerrit?

No need we can do it from the job.

> I couldn't find any reference for response from Jenkins to Grrit in the yaml
> templates in std CI, so not sure its configurable per job, it might be on
> the main Jenkins configuration.
> Barak - do you know where the grading is defined for Gerrit Trigger in YAML?

Yeah you can use 'skip-vote" [1].
This requires Gerrit Trigger Plugin version >= 2.7.0

[1]: http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.gerrit





-- 
Barak Korren
bkorren at redhat.com
RHCE, RHCi, RHV-DevOps Team
https://ifireball.wordpress.com/


More information about the Infra mailing list