From d5e16807136445884fd7cc5f71f9f039f823b5d8 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Sat, 14 Dec 2019 18:07:40 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/presenters/ci/pipeline_presenter.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/presenters') 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 -- cgit v1.2.3