summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-09-07 21:00:52 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-09-07 21:00:52 +0200
commitcd72189fc0127e9993eebaba9569f912394cc5c9 (patch)
tree374fc58900c287ca27dec6160aec56cf5d757ff6 /app
parent5f33690ebbe19dd8698bf8b432a5e6740305f007 (diff)
downloadgitlab-ce-cd72189fc0127e9993eebaba9569f912394cc5c9.tar.gz
Import external files in Gitlab CI config
CE mirror of a10b777f8cb1902bba3964a4cbad2b1dd6bce785
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 2955e0b2bca..f3a40204305 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -464,7 +464,7 @@ module Ci
return @config_processor if defined?(@config_processor)
@config_processor ||= begin
- Gitlab::Ci::YamlProcessor.new(ci_yaml_file)
+ Gitlab::Ci::YamlProcessor.new(ci_yaml_file, project)
rescue Gitlab::Ci::YamlProcessor::ValidationError => e
self.yaml_errors = e.message
nil