Commit 67f310e4 authored by Rémy Coutable's avatar Rémy Coutable

Ignore GitLab API hiccups in scripts/trigger-build

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 222284a6
......@@ -165,6 +165,10 @@ module Trigger
end
JSON.parse(res.body)['status'].to_s.to_sym
rescue JSON::ParserError
# Ignore GitLab API hiccups. If GitLab is really down, we'll hit the job
# timeout anyway.
:running
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment