Not yet checked our config since we also use that plugin, but just a quick
drop: isn't it a typo in:

Branches to build = $GERIT_BRANCH

Missing a r in GERRIT, maybe that's part of the issue?

My 2 cents

2014-09-10 18:24 GMT+02:00 Eugene Sajine <[email protected]>:

> Hi list,
>
> my settings are:
>
> build property GERRIT_REFSPEC = refs/heads/my_branch
> Git repository refspec = $GERRIT_REFSPEC
> Branches to build = $GERIT_BRANCH
> Strategy = Gerrit Trigger
> Gerrit event: repo plain repos name, branch plain "my_branch"
>
> the problem:
>
> Everytimte the poll is triggered (not by Gerrit event, but by gerrit hook
> upon direct push to the repo) it finds same 1 commit as a change and
> triggers the build.
>
> what i would like to achieve is to make JEnkins to build only in case if
> there are changes submitted for review for branch my_branch and in case if
> thereis a direct push into this branch. Nothing else shoudl trigger the buid
>
> any ideas are appreciated
>
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to