Skip to content
Commit 9209fdb1 authored by Peter Hoyes's avatar Peter Hoyes
Browse files

CI: Catch missing pipeline information



Very occasionally, pipeline data for a build is unavailable (e.g.
due to API failure or a project rename).

When querying the Gitlab API, always check the status code and
return the build status "Unknown" if the HTTP code is not "OK".
This makes the script more robust to invalid data.

Update the template to render the "Unknown" status.

Signed-off-by: Peter Hoyes's avatarPeter Hoyes <peter.hoyes@arm.com>
parent 0ae90622
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment