diff options
author | Rémy Coutable <remy@rymai.me> | 2018-06-20 17:17:29 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-06-20 17:17:29 +0200 |
commit | 67f310e41fe739d28e5620b816e8568433e977ce (patch) | |
tree | e18925228466ca92dbb042313bf4fac9cc79570f /scripts | |
parent | 222284a6bf9348b30b5ce2b1b04370163e2120e5 (diff) | |
download | gitlab-ce-67f310e41fe739d28e5620b816e8568433e977ce.tar.gz |
Ignore GitLab API hiccups in scripts/trigger-buildimprove-scripts-trigger-build
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trigger-build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/trigger-build b/scripts/trigger-build index 526f5164ede..798bf1e82b7 100755 --- a/scripts/trigger-build +++ b/scripts/trigger-build @@ -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 |