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.

Reply via email to