Gerrit Trigger Plugin v2.13+ - dynamic triggers not working

257 views
Skip to first unread message

Frank Bartz

unread,
Jul 16, 2015, 8:20:32 AM7/16/15
to jenkins...@googlegroups.com
Hi,

since we upgraded the Gerrit Trigger Plugin to version 2.13, all jobs using dynamic triggers are not triggered anymore. Same thing for version 2.14.
If we rollback to plugin version 2.12, it starts working again.

There are no error messages in the jenkins log, it just doesn't happen anything when the trigger happens. Even when trying to trigger manually using the "Query and Trigger Gerrit Patches" Link, I just get the message that no jobs were triggered.
If we enter the triggers all manually to the UI, it jost works! So it seems, that the jobs no longer read from the trigger url or do not load their triggers.


Some more about our config:
- In the job we just use check the "Dynamic Trigger Configuration" checkbox and enter a filesystem URL to the "Trigger Configuration URL" textbox, like "file:///var/lib/jenkins/dynamic-triggers/custom_triggers.txt"
- That file is stored on the Jenkins Master on exactly that filesystem path. As it worked that way until 2.12, the URL should not be a problem, I guess!?
- The file contents itself is very simple:
p=<project_name>
b=<branchname>

p=<another_project_name>
b=<branchname>

etc.

Did sth. change in that area? Or does anybody have an idea, why this doesn't work anymore starting with plugin version 2.13?

If we enter the same project names and branches manually to the trigger configuration, it works fine. It's really only the dynamic triggers which do not work. :-/

I could also reproduce this on another jenkins host with latest LTS version and gerrit trigger plugin v2.14. I don't get any dynamic triggers to work with 2.13+

Any Ideas?

Br
Frank

Frank Bartz

unread,
Aug 4, 2015, 3:06:43 AM8/4/15
to Jenkins Users
Hi,

no ideas?

The problem still persists, even if using http trigger config url.
Starting with 2.13 I don't get any dynamic triggers to work  ...

Br
Frank


Matthew...@diamond.ac.uk

unread,
Aug 4, 2015, 4:06:06 AM8/4/15
to jenkins...@googlegroups.com

Gerrit Trigger Plugin 2.14 is working for us, and as far as I recall 2.13 did as well.

 

-- 

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
 

Frank Bartz

unread,
Aug 4, 2015, 4:09:32 AM8/4/15
to jenkins...@googlegroups.com

Are you also using dynamic trigger url? The plugin using manual triggers is working for us too,  just using dynamic trigger configuration url doesn't work... 

> --
> You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/DThc_gJIXpQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6836E1DC2DDC174C9D64B7860E5AF5FC9EEEFB89%40EXCHMBX03.fed.cclrc.ac.uk.
>
> For more options, visit https://groups.google.com/d/optout.

Matthew...@diamond.ac.uk

unread,
Aug 4, 2015, 4:25:08 AM8/4/15
to jenkins...@googlegroups.com

We’re using dynamic triggers (i.e. some job configurations specify a “Dynamic Trigger Configuration”), and that works.

I’m not sure what you mean by “dynamic trigger url”.

 

From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com]
Sent: 04 August 2015 09:09
To: jenkins...@googlegroups.com
Subject: RE: Gerrit Trigger Plugin v2.13+ - dynamic triggers not working

 

Are you also using dynamic trigger url? The plugin using manual triggers is working for us too,  just using dynamic trigger configuration url doesn't work... 

Am 04.08.2015 10:06 vorm. schrieb <Matthew...@diamond.ac.uk>:
>
> Gerrit Trigger Plugin 2.14 is working for us, and as far as I recall 2.13 did as well.
>
>  
>
> From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of Frank Bartz
> Sent: 04 August 2015 08:07
> To: Jenkins Users
> Subject: Re: Gerrit Trigger Plugin v2.13+ - dynamic triggers not working
>
>  
>
> Hi,
>
> no ideas?
>
> The problem still persists, even if using http trigger config url.
> Starting with 2.13 I don't get any dynamic triggers to work  ...
>
> Br
> Frank
>

Frank Bartz

unread,
Aug 4, 2015, 4:37:48 AM8/4/15
to Jenkins Users, Matthew...@diamond.ac.uk
Yes, thats's what I mean.

But I got it now to work with another jenkins instance ... which is basically a copy of the non-working one ... but I'll see if sth. is different here ... :)
Reply all
Reply to author
Forward
0 new messages