Need basic guidance on defining job that monitors gerrit

8 views
Skip to first unread message

KARR, DAVID

unread,
Apr 23, 2015, 7:00:43 PM4/23/15
to jenkins...@googlegroups.com
I'm only somewhat familiar with Jenkins, and I need to learn how to do something like this:

"Define a job that monitors an external gerrit server for approved artifacts, and when new artifacts are produced, download them to a location on the Jenkins server."

Eventually we will perform additional automation on the artifact, but just getting it downloaded is enough.

Where do I start?

Jim West

unread,
Apr 23, 2015, 7:24:03 PM4/23/15
to jenkins...@googlegroups.com
hi David,

There is a gerrit plugin for jenkins that is quite handy. Once configured it will listen for gerrit events. You can then use these to trigger jobs. We use this primarily for review/gate jobs. A git review is done, patch set is uploaded (patch set creation event), the jenkins job tied to that repo (configured with scm of that repo) kicks off where we run tests and then that job will cast a gerrit vote.

It's pretty hoopy.

-jimW

Sent from my iPad
> --
> 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 jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/B8D164BED956C5439875951895CB4B22283F291E%40CAFRFD1MSGUSRIA.ITServices.sbc.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages