summaryrefslogtreecommitdiff
path: root/app/models/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-18 14:35:31 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-18 14:35:31 +0200
commitf52c61f846ce68b5d3517be3a0761773775dce29 (patch)
tree058fbad9cac848d8458d0faea91b50d9f3c17809 /app/models/ci
parentd79ad28fcb44c35d77de26d428ae61bc6d71e8ec (diff)
downloadgitlab-ce-f52c61f846ce68b5d3517be3a0761773775dce29.tar.gz
Do not initialize YAML processor with project full path
Diffstat (limited to 'app/models/ci')
-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 ae9ec166d65..acaa028eaa2 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -337,7 +337,7 @@ module Ci
return @config_processor if defined?(@config_processor)
@config_processor ||= begin
- Gitlab::Ci::YamlProcessor.new(ci_yaml_file, project.full_path)
+ Gitlab::Ci::YamlProcessor.new(ci_yaml_file)
rescue Gitlab::Ci::YamlProcessor::ValidationError, Psych::SyntaxError => e
self.yaml_errors = e.message
nil