diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-14 21:07:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-14 21:07:40 +0300 |
commit | d5e16807136445884fd7cc5f71f9f039f823b5d8 (patch) | |
tree | a3e60aa59ac9a83966c7ecda6d8bb9a89adc1fbc /app/presenters | |
parent | 016af097cb1fa872fdc28a786d16315e55cd2701 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/ci/pipeline_presenter.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/presenters/ci/pipeline_presenter.rb b/app/presenters/ci/pipeline_presenter.rb index d81b1e6c522..f01ff56540a 100644 --- a/app/presenters/ci/pipeline_presenter.rb +++ b/app/presenters/ci/pipeline_presenter.rb @@ -8,7 +8,9 @@ module Ci # We use a class method here instead of a constant, allowing EE to redefine # the returned `Hash` more easily. def self.failure_reasons - { config_error: 'CI/CD YAML configuration error!' } + { unknown_failure: 'Unknown pipeline failure!', + config_error: 'CI/CD YAML configuration error!', + external_validation_failure: 'External pipeline validation failed!' } end presents :pipeline |