In layout.yaml:
Delete:
- event: patchset-created
And add:
- event: comment-added
require-approval:
- verified: 1
username: Jenkins
Works for me now, thanks for all your input!
Wilson Liu
-----邮件原件-----
发件人: Mikhail Medvedev [mailto:[email protected]]
发送时间: 2016年2月23日 20:35
收件人: OpenStack Development Mailing List (not for usage questions)
抄送: OpenStack Infra; Luozhen
主题: Re: [OpenStack-Infra] [openstack-dev] [cinder] How to configure the third
party CI to be triggered only when jenkins +1
On Mon, Feb 22, 2016 at 7:32 PM, liuxinguo <[email protected]> wrote:
> Hi,
>
>
>
> There is no need to trigger third party CI if a patch does not pass
> Jenkins Verify.
>
> I think there is a way to reach this but I’m not sure how.
>
>
>
> So is there any reference or suggestion to configure the third party
> CI to be triggered only when jenkins +1?
>
>
If you are using zuul, then you should look into 'approval' setting in layout.
E.g. check the current layout that Infra uses for gate
pipeline:
https://github.com/openstack-infra/project-config/blob/6b71e8cac676e04141839eeecce3462df3a04848/zuul/layout.yaml#L41-L46.
>
> Thanks for any input!
>
>
>
> Regards,
>
> Wilson Liu
>
>
>
>
>
>
> ______________________________________________________________________
> ____ OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> [email protected]?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev