[OpenStack-Infra] [openstack-infra] how to config gerrit to get a summary of all jobs in gerrit page

Mikhail Medvedev mihailmed at gmail.com
Wed Dec 21 11:32:37 UTC 2016


On Wed, Dec 21, 2016 at 1:49 AM, <dong.wenjuan at zte.com.cn> wrote:
>
>
> Hi all,
>
> I setup a CI system, but after all the jobs run, the summary of all jobs
don't show in gerrit page.
> Like this:
>
>
> Does anybody know how to config it? Thanks~
>

OpenStack infra uses custom js script to create that table.

If you're asking how to configure your own gerrit instance to format CI
results like a table: you can use something similar to hideci.js script [1]
in your gerrit instance UI. To see how hideci.js is setup on OpenStack
gerrit instance, see puppet configuration at [2].

If you're asking how to get your third-party CI to show up on OpenStack
gerrit: your CI's comment needs to adhere to what hideci.js expects when it
parses CI comments.


[1]
https://github.com/openstack-infra/system-config/blob/dcacf61853fb5e4e2e2f15df8ce1fbab79a8494e/modules/openstack_project/files/gerrit/hideci.js
[2]
https://github.com/openstack-infra/system-config/blob/dcacf61853fb5e4e2e2f15df8ce1fbab79a8494e/modules/openstack_project/manifests/gerrit.pp

>
>
> BR,
> dwj
>
>
>
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

--
Mikhail Medvedev
IBM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20161221/8504f2dc/attachment.html>


More information about the OpenStack-Infra mailing list