[OpenStack-Infra] Zuul - recheck no bug not working

Monty Taylor mordred at inaugust.com
Sat May 24 17:51:22 UTC 2014


It also looks like there may be an extra leading space in front of no bug

On May 24, 2014 1:41 PM, "Elizabeth K. Joseph" <lyz at princessleia.com> wrote:
>
> On Sat, May 24, 2014 at 3:03 AM, trinath.somanchi at freescale.com 
> <trinath.somanchi at freescale.com> wrote: 
> > Hi - 
> > 
> > 
> > 
> > With  Zuul 2.0.0.163, 
> > 
> > 
> > 
> > How to add comment-filters for event 'comment-added'? 
> > 
> > 
> > 
> > My layout.yaml contains the following config for check pipeline. 
> > 
> > 
> > 
> > pipelines: 
> > 
> >   - name: check 
> > 
> >     manager: IndependentPipelineManager 
> > 
> >     precedence: low 
> > 
> >     trigger: 
> > 
> >       gerrit: 
> > 
> >         - event: patchset-created 
> > 
> >         - event: change-restored 
> > 
> >         - event: comment-added 
> > 
> >           comment_filter: (?i)^(Patch Set [0-9]+:)?( 
> > [\w\\-]*)?(\n\n)?\s*recheck(( (?:bug|lp)[\s#:]*(\d+))|( no bug)|( freescale 
> > ))\s*$ 
>
> This might not be it (is "recheck no bug" working?), but you have a 
> trailing whitespace after freescale in your regex, so it looks like it 
> might be trying to match: "recheck freescale " (note the space) rather 
> than "recheck freescale" 
>
> -- 
> Elizabeth Krumbach Joseph || Lyz || pleia2 
> http://www.princessleia.com 
>
> _______________________________________________ 
> OpenStack-Infra mailing list 
> OpenStack-Infra at lists.openstack.org 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra 
>


More information about the OpenStack-Infra mailing list