Checks UI and API

315 views
Skip to first unread message

Phil Longstaff

unread,
May 25, 2021, 5:54:01 PM5/25/21
to Repo and Gerrit Discussion
I recently updated our gerrit installation from 3.2.6 to 3.4. I would like to explore the Checks UI because from what I can see, it should provide a place to see build/test results. We use Jenkins for CI. Where can I find information on how to feed build/test results back from our Jenkins pipeline to gerrit for display on the Checks UI?

Thanks,
Phil

Luca Milanesio

unread,
May 25, 2021, 6:04:20 PM5/25/21
to Phil Longstaff, Luca Milanesio, Repo and Gerrit Discussion

On 25 May 2021, at 22:54, 'Phil Longstaff' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:

I recently updated our gerrit installation from 3.2.6 to 3.4. I would like to explore the Checks UI because from what I can see, it should provide a place to see build/test results. We use Jenkins for CI. Where can I find information on how to feed build/test results back from our Jenkins pipeline to gerrit for display on the Checks UI?

Not yet, but we are working on it.

Luca


Thanks,
Phil

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving. 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/519631f7-2904-4a5c-a9a7-4cf3fcb28f41n%40googlegroups.com.

Ben Rohlfs

unread,
May 26, 2021, 6:19:41 AM5/26/21
to Luca Milanesio, Phil Longstaff, Repo and Gerrit Discussion
The Checks JavaScript plugin api is documented here: https://gerrit-review.googlesource.com/Documentation/pg-plugin-checks-api.html

Most of it is more nicely documented in the code itself: https://gerrit.googlesource.com/gerrit/+/master/polygerrit-ui/app/api/checks.ts

Examples of plugins using the Checks API/UI:

1.
You can see it in action on https://gerrit-review.googlesource.com/. It retrieves its data from the "old" Checks backend api. But we are planning to migrate that and also fetch the data directly from Jenkins HTTP endpoints.

2.
You can see it in action on https://chromium-review.googlesource.com/ by clicking "Opt-In to the New Results UI".

Let me know if you have any questions.

-Ben







Reply all
Reply to author
Forward
0 new messages