Gerrit event on Jenkins doesn't trigger automatically on git push -


i'm new jenkins/gerrit. i'm trying integrate gerrit jenkins. i've jenkins project setup triggered when there changeset created (push) in git repository, hosted gerrit project. master branch doesn't accept direct push. use following command push repository.

git push origin head:refs/for/master

now, when push, jenkins project doesn't kick off automatically. can manually trigger gerrit event with, "query , trigger gerrit patches".

below gerrit server , trigger plugin version.

gerrit server version: 2.10.3.1

gerrit trigger plugin: 2.12.0

i pretty followed gerrit trigger plugin guideline. jenkins project setup in screenshot (1-3).

and gerrit project access permission, project inherits all-projects. here screenshot (4).

image 1 image 2 image 3 image 4

this seems solved now. key following.

gerrit project  -branches   -type: path   -pattern: "" 

i using type "plain" , pattern "master". didn't work.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -