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

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -