git - Jenkins builds on tag pushes via gerrit-trigger plugin -


i have jenkins server running gerrit trigger plugin continuous integration. running unit tests , style checks, it's working fantastically!

however, i'm interested in using jenkins build our deployment packages well.

ideally, developers push tags gerrit, , gerrit-trigger plugin notify jenkins build tags, , deploy them appropriately.

is there way configure through jenkins , gerrit, rather using hooks in gerrit's git repos post jenkins's rest api, or using wasteful laggy scm polling?

i suspect there may way this, i'm not quite sure begin.

the gerrit trigger plugin has several trigger options initiating job.

in jenkins job, under "gerrit trigger" you'll find "trigger on" section drop-down list. if trigger on "ref updated" run job time developer pushes ref directly gerrit without going through review process. won't strictly limited tag events, catch them.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -