diff options
author | Robert Speicher <robert@gitlab.com> | 2018-06-20 19:52:47 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-06-20 19:52:47 +0000 |
commit | ad0073bc0f9b1d7198b65b7cf800cb2e902475f2 (patch) | |
tree | a9edb80174718033bff0f0fa0f7d2a5c93830957 | |
parent | 73db8232a2eaddeaac5b087f1a0b507d78f0c1f0 (diff) | |
parent | 67f310e41fe739d28e5620b816e8568433e977ce (diff) | |
download | gitlab-ce-ad0073bc0f9b1d7198b65b7cf800cb2e902475f2.tar.gz |
Merge branch 'improve-scripts-trigger-build' into 'master'
Ignore GitLab API hiccups in scripts/trigger-build
See merge request gitlab-org/gitlab-ce!20038
-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 |