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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.