Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-28 21:31:08 +0300
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-10-28 21:31:08 +0300
commit4611a59968c65d1eda83af6c33bb844d9610fa12 (patch)
tree6996b0b5a91d0fdab833b3067b53c6f86221af22 /app/presenters
parent8a116be4848720c41420c878c218b10ac7a3f182 (diff)
Add failure reason for execution timeout
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/commit_status_presenter.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/presenters/commit_status_presenter.rb b/app/presenters/commit_status_presenter.rb
index 29eaad759bb..a866e76df5a 100644
--- a/app/presenters/commit_status_presenter.rb
+++ b/app/presenters/commit_status_presenter.rb
@@ -9,7 +9,8 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated
runner_system_failure: 'There has been a runner system failure, please try again',
missing_dependency_failure: 'There has been a missing dependency failure',
runner_unsupported: 'Your runner is outdated, please upgrade your runner',
- stale_schedule: 'Delayed job could not be executed by some reason, please try again'
+ stale_schedule: 'Delayed job could not be executed by some reason, please try again',
+ job_execution_timeout: 'The script exceeded the maximum execution time set for the job'
}.freeze
private_constant :CALLOUT_FAILURE_MESSAGES