Ask Your Question

how to add smtp to from in zuul layout.yaml piplines for reports?

asked 2015-04-16 00:40:59 -0500

zohaib gravatar image

updated 2015-04-16 07:10:03 -0500

SGPJ gravatar image

i am having trouble to add smtp details in zuul piplines using this link link when add the same rules in yaml it did not trigger build . some one please help me how to add this thing . and also how to load yaml file after editing thanks in advance.

edit retag flag offensive close merge delete



Does it trigger builds when you don't add the smtp reporter to that pipeline? What leads you to believe it's an SMTP reporter configuration problem?

fungi gravatar imagefungi ( 2015-04-16 08:09:56 -0500 )edit

yes when i exclude the smtp from reporter it trigger the build

zohaib gravatar imagezohaib ( 2015-04-17 00:41:47 -0500 )edit

Most of the Zuul developers and user community don't really pay attention to (it's more for OpenStack server software, not community infrastructure projects). I recommend the #openstack-infra IRC channel on Freenode or mailing list for Zuul help.

fungi gravatar imagefungi ( 2015-04-17 09:48:31 -0500 )edit

thanks you were right

zohaib gravatar imagezohaib ( 2015-04-20 00:56:44 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2015-04-16 08:07:15 -0500

The Zuul documentation has a great example of its SMTP reporter, but if you need a real-life example have a look at the layout.yaml for and in the pipelines list you should see an entry for a periodic-stable pipeline like this:

  - name: periodic-stable
    description: Periodic checks of the stable branches.
    manager: IndependentPipelineManager
    source: gerrit
    precedence: low
        - time: '1 6 * * *'
        subject: 'Stable check of {change.project} failed'
edit flag offensive delete link more


I have tried both the ways but zuul is not working actually it did not trig the build may be issue is in the syntax

zohaib gravatar imagezohaib ( 2015-04-17 00:16:28 -0500 )edit

Well, yes the trigger in my example above is for a timer (periodic) trigger rather than a gerrit trigger. I was mostly including that pipeline definition to highlight a real-world example of the smtp reporter.

fungi gravatar imagefungi ( 2015-04-17 09:38:02 -0500 )edit

it is solved now with this method i Have not used single quotes and brackets as you use it to write project and change.

zohaib gravatar imagezohaib ( 2015-04-20 05:22:14 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-04-16 00:40:59 -0500

Seen: 438 times

Last updated: Apr 16 '15