summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-06-28 18:29:14 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-06-28 18:29:14 +0800
commit0d5e6536e7c18d839b1c1da0807aa90ba5be3e06 (patch)
tree6033a74623158d6ce1d5a9cbf3ba493fe6d09243 /app
parent02ff4381979a5148cc17f7b6ea023fd4a1a5bffe (diff)
downloadgitlab-ce-0d5e6536e7c18d839b1c1da0807aa90ba5be3e06.tar.gz
Fix the test and implement missing update
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 23b641c334d..3a514718ca8 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -327,6 +327,8 @@ module Ci
@ci_yaml_file = begin
project.repository.gitlab_ci_yml_for(sha, ci_yaml_file_path)
rescue
+ self.yaml_errors =
+ "Failed to load CI/CD config file at #{ci_yaml_file_path}"
nil
end
end