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

Elizabeth K. Joseph lyz at princessleia.com
Sat May 24 17:41:37 UTC 2014


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



More information about the OpenStack-Infra mailing list