Jenkins job triggered by gerrit vote

13 views
Skip to first unread message

Sihan Wang

unread,
Sep 13, 2016, 9:17:59 PM9/13/16
to Jenkins Users
I am thinking is this possible that Jenkins job will be triggered by someone voting? 
For example, one reviewer gives plus 1, and then jenkins could trigger the job. sometimes it will reduce many unnecessary jobs triggered.

Thanks

Sihan

Matthew...@diamond.ac.uk

unread,
Sep 14, 2016, 4:17:21 AM9/14/16
to jenkins...@googlegroups.com

It is possible to trigger a job when a Gerrit comment is added, although that is not how it is normally set up. There is no trigger event for just voting.

If you are having a problem with a specific job, you need to look at the configuration for the job to see when it is triggered.

If this is a general question, then the answer is no, you will not get unnecessary jobs triggered.

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 

Reply all
Reply to author
Forward
0 new messages